1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-07 17:44:04 -04:00

backend/egl: fix a codeql complaint

the entire if block doesn't make sense.
This commit is contained in:
Maxim Solovyov 2025-02-12 03:17:27 +03:00
parent fc8d174928
commit 2bbe0e64c9
No known key found for this signature in database

View file

@ -280,9 +280,6 @@ egl_bind_pixmap(backend_t *base, xcb_pixmap_t pixmap, struct xvisual_info fmt) {
gl_check_err();
return (image_handle)inner;
err:
if (eglpixmap && *eglpixmap) {
eglDestroyImage(gd->display, *eglpixmap);
}
free(eglpixmap);
return NULL;
}