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:
parent
fc8d174928
commit
2bbe0e64c9
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue