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.h | |
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.h')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.h b/libs/surfaceflinger/LayerBuffer.h index 22af43e..587d31b 100644 --- a/libs/surfaceflinger/LayerBuffer.h +++ b/libs/surfaceflinger/LayerBuffer.h @@ -57,7 +57,7 @@ public: virtual uint32_t getTypeInfo() const { return typeInfo; } LayerBuffer(SurfaceFlinger* flinger, DisplayID display, - Client* client, int32_t i); + const sp<Client>& client, int32_t i); virtual ~LayerBuffer(); virtual void onFirstRef(); |