--- a/idlehomescreen/widgetmanager/src/wminstaller.cpp Fri Feb 19 22:42:37 2010 +0200
+++ b/idlehomescreen/widgetmanager/src/wminstaller.cpp Fri Mar 12 15:41:49 2010 +0200
@@ -65,6 +65,7 @@
//
void CWmInstaller::ConstructL()
{
+ iMime = KWrtMime().AllocL();
iIdle = CIdle::NewL( CActive::EPriorityStandard );
}
@@ -81,6 +82,7 @@
iIdle->Cancel();
}
delete iIdle;
+ delete iMime;
}
// ---------------------------------------------------------
@@ -166,7 +168,7 @@
optionsUninstall.iKillApp = SwiUI::EPolicyAllowed;
SwiUI::TUninstallOptionsPckg uninstallOptionsPkg( optionsUninstall );
iInstaller.SilentUninstall( iStatus, iUid,
- uninstallOptionsPkg, KWrtMime );
+ uninstallOptionsPkg, *iMime );
aData->VisualizeUninstallL();
SetActive();