From 25cd5788a70f45c807ad22aa0ecdc7e1d4d5fd67 Mon Sep 17 00:00:00 2001 From: Gloria Wang Date: Thu, 24 Mar 2011 13:14:02 -0700 Subject: Fix for bug 4126624. Change the mDrmManagerClientImpl to sp to avoid double delete the pointer. Change-Id: I7aacea1bc58ab6425ef6f6f09472c6f2970ebb4d --- drm/libdrmframework/DrmManagerClient.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'drm') 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( -- cgit v1.1