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 | 6edf5af578c1ab1fcd44b7c08ca371456e4b7430 (patch) | |
| tree | 28ae8dec57019f5aac653b1a2d4df5cd061ee976 /libs/surfaceflinger/LayerBuffer.cpp | |
| parent | c8fb5b1979da4829e1486e6a1008c06c979b94b0 (diff) | |
| download | frameworks_base-6edf5af578c1ab1fcd44b7c08ca371456e4b7430.zip frameworks_base-6edf5af578c1ab1fcd44b7c08ca371456e4b7430.tar.gz frameworks_base-6edf5af578c1ab1fcd44b7c08ca371456e4b7430.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) { |
