mesa/src
Philipp Zabel 7d7bcd65d6 st/mesa: release EGLImage on EGLImageTarget* error
The smapi->get_egl_image() call in st_egl_image_get_surface() stores a
reference to the EGLImage's texture in stimg.texture. That reference is
released via pipe_resource_reference(&stimg.texture, NULL) before stimg
goes out of scope at the end of the function, but not in the error path
if !is_format_supported().

Fixes: 83e9de25f3 ("st/mesa: EGLImageTarget* error handling")
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-07-04 11:05:40 +02:00
..
amd radv: enable Int64 capability (v2) 2017-07-03 11:58:59 -07:00
broadcom vc4: automake: include vc4_cl_dump.h in 2017-07-04 09:37:19 +02:00
compiler spirv: fix OpBitcast when the src and dst bitsize are different (v3) 2017-07-03 11:58:50 -07:00
egl Android: use symlinks for driver loading 2017-06-29 09:09:49 -05:00
gallium vc4: automake: include vc4_cl_dump.h in 2017-07-04 09:37:19 +02:00
gbm gbm: add XBGR8888 support for dumb buffers 2017-06-30 08:44:19 +01:00
getopt
glx egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: check support for enabled features in vkCreateDevice() 2017-07-03 08:01:31 +02:00
loader egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
mapi Update Khronos-supplied headers 2017-06-30 15:29:50 +02:00
mesa st/mesa: release EGLImage on EGLImageTarget* error 2017-07-04 11:05:40 +02:00
util util/disk_cache: fix a comment 2017-07-03 13:57:01 +02:00
vulkan Android: vulkan: fix build error due to extra ) 2017-06-08 07:26:04 -05:00
Makefile.am vc4: Introduce XML-based packet header generation like Intel's. 2017-06-30 12:25:45 -07:00
SConscript scons: wait on subprocess' completion 2017-06-29 17:38:26 +01:00