diff -r 6f4453afd006 -r 6c34d0baa0b1 messagingfw/msgtest/integration/email/src/Emailsmoke.cpp --- a/messagingfw/msgtest/integration/email/src/Emailsmoke.cpp Tue Oct 05 13:50:47 2010 +0530 +++ b/messagingfw/msgtest/integration/email/src/Emailsmoke.cpp Tue Oct 19 11:59:06 2010 +0530 @@ -131,7 +131,10 @@ HBufC* errorText=NULL; TRAPD(ret,errorText= debugInfo.TestFailedStringLC(aError)); if (ret!=KErrNone) + { + CleanupStack::Pop(); return ret; + } TRAP(ret,LogComment(*errorText)); //LogComentL doesn't leave although it has L. TestConsole().Printf(*errorText); TestConsole().Printf(_L("\r"));