diff -r d2517372cc44 -r ae69c2e8bc34 syncmlfw/ds/settings/src/NSmlDSSettings.cpp --- 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* customProfileArray = new (ELeave) CArrayPtrFlat (5); @@ -348,6 +349,7 @@ customProfileArray->ResetAndDestroy(); CleanupStack::PopAndDestroy(); //customProfileArray + CleanupStack::PopAndDestroy(&wSession); // wSession }