diff -r c562c0bc23e5 -r 76350b5be3d8 omadrm/drmhelper/src/drmhelper.cpp --- a/omadrm/drmhelper/src/drmhelper.cpp Thu Jan 07 12:54:19 2010 +0200 +++ b/omadrm/drmhelper/src/drmhelper.cpp Mon Jan 18 20:30:37 2010 +0200 @@ -5604,10 +5604,11 @@ CAknLaunchAppService* launchAppService = CAknLaunchAppService::NewL( KUidDRMUI, this, paramList ); + + CleanupStack::PushL( launchAppService ); iWait.Start(); - delete launchAppService; - - CleanupStack::PopAndDestroy( paramList ); // paramList + + CleanupStack::PopAndDestroy( 2, paramList ); // paramList, launchAppService } else {