mesa/src/mesa
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
..
drivers i965: Print access flags in INTEL_DEBUG=buf output. 2017-07-01 11:48:08 -07:00
main mesa: Require mipmap completeness for glCopyImageSubData() at times. 2017-06-28 22:29:41 -07:00
math tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
program mesa: remove unused parameter/member of add_uniform_to_shader 2017-07-03 13:57:01 +02:00
sparc tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
state_tracker st/mesa: release EGLImage on EGLImageTarget* error 2017-07-04 11:05:40 +02:00
swrast mesa: replace VP/FP/ATIfs _Enabled flags with helper functions 2017-06-22 01:51:02 +02:00
swrast_setup mesa: replace VP/FP/ATIfs _Enabled flags with helper functions 2017-06-22 01:51:02 +02:00
tnl mesa: replace VP/FP/ATIfs _Enabled flags with helper functions 2017-06-22 01:51:02 +02:00
tnl_dd mesa: replace ctx->Polygon._FrontBit with a helper function 2017-06-22 01:51:02 +02:00
vbo mesa: replace VP/FP/ATIfs _Enabled flags with helper functions 2017-06-22 01:51:02 +02:00
x86 tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
x86-64
.gitignore
Android.gen.mk mesa: Fix Android build 2017-06-28 14:41:45 -07:00
Android.libmesa_dricore.mk svga: fix git_sha1.h include path in Android.mk (v3) 2017-06-15 15:46:44 +01:00
Android.libmesa_git_sha1.mk build systems: uniformize git_sha1.h generation 2017-06-29 16:24:58 +01:00
Android.libmesa_glsl_utils.mk mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
Android.libmesa_sse41.mk android: pass sse4.1 flag as appropriate 2017-03-30 08:02:49 +03:00
Android.libmesa_st_mesa.mk svga: fix git_sha1.h include path in Android.mk (v3) 2017-06-15 15:46:44 +01:00
Android.mesa_gen_matypes.mk
Android.mk svga: fix git_sha1.h include path in Android.mk (v3) 2017-06-15 15:46:44 +01:00
gl.pc.in
Makefile.am mesa: Add _mesa_format_fallback_rgbx_to_rgba() [v2] 2017-06-27 16:56:28 -07:00
Makefile.sources mesa: Add _mesa_format_fallback_rgbx_to_rgba() [v2] 2017-06-27 16:56:28 -07:00
SConscript scons: add code to generate format_fallback.c file 2017-06-28 04:12:25 -06:00