--- a/syncmlfw/ds/settings/src/NSmlDSSettings.cpp Tue Sep 28 17:53:08 2010 +0530
+++ b/syncmlfw/ds/settings/src/NSmlDSSettings.cpp Fri Oct 15 11:46:45 2010 +0530
@@ -246,6 +246,7 @@
return;
}
+ CleanupClosePushL(wSession);
RXMLReader DSProfileParser;
DSProfileParser.CreateL();
CArrayPtrFlat<CNSmlDSProfile>* customProfileArray = new (ELeave) CArrayPtrFlat<CNSmlDSProfile> (5);
@@ -348,6 +349,7 @@
customProfileArray->ResetAndDestroy();
CleanupStack::PopAndDestroy(); //customProfileArray
+ CleanupStack::PopAndDestroy(&wSession); // wSession
}