mobilemessaging/smsui/viewersrc/MsgSmsViewerAppUi.cpp
branchRCL_3
changeset 12 caea42e26caa
parent 2 0bf1d54f37d9
child 14 c6838af47512
--- a/mobilemessaging/smsui/viewersrc/MsgSmsViewerAppUi.cpp	Fri Feb 19 22:47:38 2010 +0200
+++ b/mobilemessaging/smsui/viewersrc/MsgSmsViewerAppUi.cpp	Fri Mar 12 15:42:19 2010 +0200
@@ -2754,6 +2754,7 @@
     CPlainText* nullString = CPlainText::NewL();
     CleanupStack::PushL( nullString );
     delete iSmsHeader;
+    iSmsHeader = NULL;
     iSmsHeader = CSmsHeader::NewL( CSmsPDU::ESmsDeliver, *nullString );
     CMsvStore* store = doc->CurrentEntry().ReadStoreL();
     CleanupStack::PushL(store);