GNOME Bugzilla – Bug 755456
glmemory: fix texture leak in _gl_mem_copy
Last modified: 2015-09-25 10:44:50 UTC
I have noticed a leak in _gl_mem_copy in the "} else {", it calls _gl_mem_init which generate the texture because tex_id is 0. _gl_mem_create should check for texture_wrapped flag instead. I have not really search for a pipeline that shows the problem. But patch follows.
Created attachment 311929 [details] [review] git log
commit 04856e6c8a0d51a96bebeb7bc77338b8efc4ed10 Author: Julien Isorce <j.isorce@samsung.com> Date: Thu Sep 17 14:17:09 2015 +0100 glmemory: fix texture leak in _gl_mem_copy https://bugzilla.gnome.org/show_bug.cgi?id=755456