webengine/wrtharvester/src/wrtharvesterregistryaccess.cpp
branchRCL_3
changeset 92 e1bea15f9a39
parent 59 1f3c3f2f5b0a
child 93 79859ed3eea9
--- 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 );