xrender: fix leak in bind_pixmap

This commit is contained in:
Maxim Solovyov
2022-12-22 00:20:43 +03:00
committed by Arda Atci
parent 0b965b2e5a
commit efa3d9c227

View File

@@ -508,6 +508,7 @@ bind_pixmap(backend_t *base, xcb_pixmap_t pixmap, struct xvisual_info fmt, bool
if (!r) {
log_error("Invalid pixmap: %#010x", pixmap);
x_print_error(e->full_sequence, e->major_code, e->minor_code, e->error_code);
free(e);
return NULL;
}