--- a/webengine/wrtharvester/src/wrtharvesterregistryaccess.cpp Thu Jul 15 19:53:20 2010 +0300
+++ b/webengine/wrtharvester/src/wrtharvesterregistryaccess.cpp Thu Aug 19 10:58:56 2010 +0300
@@ -66,11 +66,13 @@
IsNokiaWidget( session, widgetInfo->iUid ))
{
CWrtInfo* info = new CWrtInfo();
+ CleanupStack::PushL(info);
info->iUid = widgetInfo->iUid;
info->iBundleId = WidgetPropertyL( session, widgetInfo->iUid, EBundleIdentifier );
info->iDisplayName = WidgetPropertyL( session, widgetInfo->iUid, EBundleDisplayName );
info->iType = KS60Widget;
aWidgetInfoArray.AppendL( info );
+ CleanupStack::Pop(info);
}
}
CleanupStack::PopAndDestroy( &session );