messagingappbase/ncnlist/src/NcnOutboxObserver.cpp
branchRCL_3
changeset 16 e00582ce7ecd
parent 15 52d61119153d
--- a/messagingappbase/ncnlist/src/NcnOutboxObserver.cpp	Wed Apr 14 15:53:21 2010 +0300
+++ b/messagingappbase/ncnlist/src/NcnOutboxObserver.cpp	Tue Apr 27 16:33:37 2010 +0300
@@ -140,7 +140,7 @@
     CleanupStack::PushL( cmailselection );
     TInt cmailCount= cmailselection ->Count();
     
-    CleanupStack::Pop( 4 );
+    CleanupStack::PopAndDestroy( 4 );
     // Check messagecount in outbox
     msgCount  = msgCount - (smtpCount+pop3Count+ imapCount+cmailCount);
     // Set msg count to the CR key