diff options
author | Mathias Agopian <mathias@google.com> | 2009-06-19 17:00:27 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-06-19 17:00:27 -0700 |
commit | f9d932774e06d5122c48b47d8cabd791783f56d2 (patch) | |
tree | e78c8148d0e3fcc166ebb3f4bd60c931ec956344 /libs/surfaceflinger/LayerBuffer.cpp | |
parent | cd8c5e29c245e55a5f648b7a10f8586baf64e622 (diff) | |
download | frameworks_native-f9d932774e06d5122c48b47d8cabd791783f56d2.zip frameworks_native-f9d932774e06d5122c48b47d8cabd791783f56d2.tar.gz frameworks_native-f9d932774e06d5122c48b47d8cabd791783f56d2.tar.bz2 |
fix a memory corruption where a SF Client could be used after it's been destroyed
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index 8be91c9..02b3651 100644 --- a/libs/surfaceflinger/LayerBuffer.cpp +++ b/libs/surfaceflinger/LayerBuffer.cpp @@ -40,7 +40,7 @@ const char* const LayerBuffer::typeID = "LayerBuffer"; // --------------------------------------------------------------------------- LayerBuffer::LayerBuffer(SurfaceFlinger* flinger, DisplayID display, - Client* client, int32_t i) + const sp<Client>& client, int32_t i) : LayerBaseClient(flinger, display, client, i), mNeedsBlending(false) { |