| commit | 9aa74dbc7070aa396bc425ea3feae3d26e5393f6 | [log] [tgz] |
|---|---|---|
| author | Jamie Gennis <jgennis@google.com> | Tue Apr 17 13:07:45 2012 -0700 |
| committer | Jamie Gennis <jgennis@google.com> | Tue Apr 17 15:53:31 2012 -0700 |
| tree | fb23384ece7723ed4fc1194b7a07b390dcb53532 | |
| parent | 2efa4b2bb0128cd65ea8ade46f46bacaf72c194f [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