--- a/javamanager/javasettings/appmngrplugin/src/appmngr2midletappinfo.cpp Mon Jun 21 15:32:50 2010 +0300
+++ b/javamanager/javasettings/appmngrplugin/src/appmngr2midletappinfo.cpp Thu Jul 15 18:31:06 2010 +0300
@@ -636,21 +636,18 @@
iDataSize = attribute->Value().AllocL();
}
// Description
- delete attribute;
attribute = aEntry->AttributeL(KMIDletDescription()); // no ownership
if (attribute)
{
iDescription = attribute->Value().AllocL();
}
// Info URL
- delete attribute;
attribute = aEntry->AttributeL(KMIDletInfoURL()); // no ownership
if (attribute)
{
iInfoUrl = attribute->Value().AllocL();
}
// Update URL
- delete attribute;
attribute = aEntry->AttributeL(KNokiaUpdate()); // no ownership
if (attribute)
{
@@ -664,7 +661,6 @@
iUpdateUrl = attribute->Value().AllocL();
}
}
- delete attribute;
// Use localized midlet suite name if it exists
attribute = aEntry->AttributeL(KNokiaMIDletName()); // no ownership
if (attribute)
@@ -676,7 +672,6 @@
// Use non-localized name
iLocalizedMIDletName = aEntry->Name().AllocL();
}
- delete attribute;
RArray<TUid> midletUids;
CleanupClosePushL(midletUids);
@@ -696,7 +691,6 @@
if (attribute)
{
contentLength += attribute->Value().Length();
- delete attribute;
}
else
{
@@ -737,7 +731,6 @@
ptrContent.Append(KListSeparatorAndSpace);
ptrContent.Append(attribute->Value());
}
- delete attribute;
}
else
{
@@ -795,7 +788,6 @@
iPermissions = attribute->Value().AllocL();
iPermissions->Des().TrimAll();
}
- delete attribute;
}
LOG(EJavaAppMngrPlugin, EInfo, "- CAppMngr2MidletAppInfo::ConstructL");