summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-01-28 18:38:58 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-01-28 18:38:58 -0800
commit779160c4eab5aab1a8511c1d8e55ca5f1136d35f (patch)
tree0838a9bd4e42d7d9fdf3637e442b53232e194336
parent56a764c39cc899221cde319847564c68ede51cc4 (diff)
parent3cc2677efc2a4bc06297b9667ac529284f6abf9d (diff)
Merge "fix [3389263] OMX.Nvidia.h264.decode fails to shutdown" into honeycomb
-rw-r--r--services/surfaceflinger/Layer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 37307391fd..f64fd7b59b 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -150,8 +150,7 @@ status_t Layer::ditch()
// the layer is not on screen anymore. free as much resources as possible
mFreezeLock.clear();
- EGLDisplay dpy(mFlinger->graphicPlane(0).getEGLDisplay());
- mBufferManager.destroy(dpy);
+ // Free our own reference to ISurface
mSurface.clear();
Mutex::Autolock _l(mLock);