diff -r d2517372cc44 -r ae69c2e8bc34 syncmlfw/ds/settings/src/NSmlProfileContentHandler.cpp --- a/syncmlfw/ds/settings/src/NSmlProfileContentHandler.cpp Tue Sep 28 17:53:08 2010 +0530 +++ b/syncmlfw/ds/settings/src/NSmlProfileContentHandler.cpp Fri Oct 15 11:46:45 2010 +0530 @@ -113,9 +113,9 @@ { iDSContentInProgress = TRUE; CNSmlDSContentSettingType* content = CNSmlDSContentSettingType::NewL(); + CleanupStack::PushL(content); iContentArray->AppendL(content); - - + CleanupStack::Pop(content); // content } if (iDSSettingInProgress) {