diff options
author | Gloria Wang <gwang@google.com> | 2011-03-24 13:14:02 -0700 |
---|---|---|
committer | Gloria Wang <gwang@google.com> | 2011-03-24 13:14:02 -0700 |
commit | 25cd5788a70f45c807ad22aa0ecdc7e1d4d5fd67 (patch) | |
tree | 49a2fb6a70bf380524ad78133c59a1bbe43e1422 /drm | |
parent | 07d0220bcc9036bcbe36819912559267d9c1c538 (diff) | |
download | frameworks_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 'drm')
-rw-r--r-- | drm/libdrmframework/DrmManagerClient.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drm/libdrmframework/DrmManagerClient.cpp b/drm/libdrmframework/DrmManagerClient.cpp index 1d1e258..c1f382a 100644 --- a/drm/libdrmframework/DrmManagerClient.cpp +++ b/drm/libdrmframework/DrmManagerClient.cpp @@ -32,7 +32,6 @@ DrmManagerClient::~DrmManagerClient() { DrmManagerClientImpl::remove(mUniqueId); mDrmManagerClientImpl->removeClient(mUniqueId); mDrmManagerClientImpl->setOnInfoListener(mUniqueId, NULL); - delete mDrmManagerClientImpl; mDrmManagerClientImpl = NULL; } status_t DrmManagerClient::setOnInfoListener( |