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/LayerBlur.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/LayerBlur.h')
-rw-r--r-- | libs/surfaceflinger/LayerBlur.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBlur.h b/libs/surfaceflinger/LayerBlur.h index 24b1156..0c3e6eb 100644 --- a/libs/surfaceflinger/LayerBlur.h +++ b/libs/surfaceflinger/LayerBlur.h @@ -39,7 +39,7 @@ public: virtual uint32_t getTypeInfo() const { return typeInfo; } LayerBlur(SurfaceFlinger* flinger, DisplayID display, - Client* client, int32_t i); + const sp<Client>& client, int32_t i); virtual ~LayerBlur(); virtual void onDraw(const Region& clip) const; |