commondrm/drmutility/src/drmutilitywmdrmwrapper.cpp
changeset 2 76350b5be3d8
parent 0 95b198f216e5
child 10 89a1f2bd800d
--- a/commondrm/drmutility/src/drmutilitywmdrmwrapper.cpp	Thu Jan 07 12:54:19 2010 +0200
+++ b/commondrm/drmutility/src/drmutilitywmdrmwrapper.cpp	Mon Jan 18 20:30:37 2010 +0200
@@ -622,9 +622,9 @@
                                     CAknLaunchAppService::NewL( KUidDRMUI,
                                                                 this,
                                                                 paramList ) );
+        CleanupStack::PushL( launchAppService );
         iWait.Start();
-        delete launchAppService;
-        CleanupStack::PopAndDestroy( paramList );
+        CleanupStack::PopAndDestroy( 2, paramList );
         }
     else
         {