weston/libweston/renderer-gl
Adam Jackson 570490cef5 gl-renderer: Fix possible memory leak when no dmabuf modifers are supported
Some drivers support EGL_EXT_image_dma_buf_import_modifiers for format
enumeration, but don't have any modifiers. In this case, on platforms where
malloc(0) returns non-NULL, we would leak that allocation to the caller.

Handle this by noticing when the number of supported modifiers is 0 and
returning early.
2019-10-01 10:24:57 +00:00
..
gl-renderer.c gl-renderer: Fix possible memory leak when no dmabuf modifers are supported 2019-10-01 10:24:57 +00:00
gl-renderer.h gl-renderer: remove print_egl_error_state 2019-10-01 09:17:10 +00:00
meson.build libweston: move gl-renderer into a subdir 2019-04-18 12:52:41 +03:00