summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2012-04-17 13:07:45 -0700
committer Jamie Gennis <jgennis@google.com> 2012-04-17 15:53:31 -0700
commit9aa74dbc7070aa396bc425ea3feae3d26e5393f6 (patch)
treefb23384ece7723ed4fc1194b7a07b390dcb53532 /libs/gui/BufferQueue.cpp
parent2efa4b2bb0128cd65ea8ade46f46bacaf72c194f (diff)
SurfaceTexture: fix a memory leak
This change fixes an issue where we were sometimes setting the SurfaceTexture's EGLDisplay to EGL_NO_DISPLAY in detachFromContext, and then subsequently abandoning the texture. Abandoning while in the detached state would result in the eglDestroyImageKHR calls failing, which resulted in a memory leak. Bug: 6302694 Change-Id: I24c1de0dac029a83c7508075fb8aaeaed96a14ea
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions