--- a/contentstorage/casrv/cawidgetscanner/src/cawidgetdescription.cpp Mon Sep 27 11:31:59 2010 +0300
+++ b/contentstorage/casrv/cawidgetscanner/src/cawidgetdescription.cpp Wed Oct 06 16:00:22 2010 +0300
@@ -163,7 +163,7 @@
//
CCaWidgetDescription *CCaWidgetDescription::CloneL()
{
- CCaWidgetDescription* clone = CCaWidgetDescription::NewL();
+ CCaWidgetDescription* clone = CCaWidgetDescription::NewLC();
clone->SetPathL( GetPath() );
clone->SetMmcIdL( GetMmcId() );
@@ -181,6 +181,7 @@
clone->SetServiceXmlL( GetServiceXml() );
clone->SetManifestFilePathNameL( GetManifestFilePathName() );
+ CleanupStack::Pop( clone );
return clone;
}