omads/omadsextensions/adapters/notes/src/nsmlnotepadDatabase.cpp
changeset 64 a62b67d1f67c
parent 54 13ecdfc9a581
--- a/omads/omadsextensions/adapters/notes/src/nsmlnotepadDatabase.cpp	Tue Sep 28 18:46:16 2010 +0530
+++ b/omads/omadsextensions/adapters/notes/src/nsmlnotepadDatabase.cpp	Tue Oct 12 17:42:13 2010 +0530
@@ -286,7 +286,9 @@
     HBufC* content = HBufC::NewL(aItem.Content()->Length());
     content = aItem.Content();
 
+	CleanupStack::PushL(content);
     entryTobeUpdated->SetDescriptionL(*content);
+	CleanupStack::Pop(content);
 
     array.AppendL(entryTobeUpdated);
     CleanupStack::Pop(entryTobeUpdated);