--- a/applayerprotocols/httptransportfw/utils/TimerLogger.cpp Mon Sep 27 10:31:51 2010 +0530
+++ b/applayerprotocols/httptransportfw/utils/TimerLogger.cpp Mon Oct 04 15:35:43 2010 +0530
@@ -86,7 +86,8 @@
TTimeIntervalMicroSeconds iTimeDifference = iEndTime.MicroSecondsFrom(iStartTime);
_LIT(KTimeDiff, ",%d microseconds\n");
RBuf myBuf;
- myBuf.Create (aComment.Length()+64);
+ TInt err = myBuf.Create (aComment.Length()+64);
+ __ASSERT_ALWAYS(KErrNone == err, User::Invariant() );
myBuf.Append (aComment );
myBuf.AppendFormat(KTimeDiff, iTimeDifference.Int64());
LogIt(myBuf);