summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorGloria Wang <gwang@google.com>2011-03-24 13:14:02 -0700
committerGloria Wang <gwang@google.com>2011-03-24 13:14:02 -0700
commit25cd5788a70f45c807ad22aa0ecdc7e1d4d5fd67 (patch)
tree49a2fb6a70bf380524ad78133c59a1bbe43e1422 /include/drm
parent07d0220bcc9036bcbe36819912559267d9c1c538 (diff)
downloadframeworks_av-25cd5788a70f45c807ad22aa0ecdc7e1d4d5fd67.zip
frameworks_av-25cd5788a70f45c807ad22aa0ecdc7e1d4d5fd67.tar.gz
frameworks_av-25cd5788a70f45c807ad22aa0ecdc7e1d4d5fd67.tar.bz2
Fix for bug 4126624.
Change the mDrmManagerClientImpl to sp to avoid double delete the pointer. Change-Id: I7aacea1bc58ab6425ef6f6f09472c6f2970ebb4d
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/DrmManagerClient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/DrmManagerClient.h b/include/drm/DrmManagerClient.h
index 12142bc..7a0bf4f 100644
--- a/include/drm/DrmManagerClient.h
+++ b/include/drm/DrmManagerClient.h
@@ -365,7 +365,7 @@ public:
private:
int mUniqueId;
- DrmManagerClientImpl* mDrmManagerClientImpl;
+ sp<DrmManagerClientImpl> mDrmManagerClientImpl;
};
};