diff -r 79859ed3eea9 -r 919f36ff910f webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp --- a/webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp Tue Aug 31 16:17:46 2010 +0300 +++ b/webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp Wed Sep 01 12:28:30 2010 +0100 @@ -99,8 +99,8 @@ HttpCacheUtil::WriteFormatLog(0, _L("CACHEPOSTPONE: CHttpCacheEntryAsyncWriteHelper::WriteNextBodyBlock called on object %08x for block %d"), this, iBodyPart ); #endif - TPtrC8 bufferPtr( iSource->BodyData().GetSegmentData(iBodyPart) ); - iSource->BodyFile().Write(bufferPtr, iStatus); + iCurrentBuf.Set( iSource->BodyData().GetSegmentData(iBodyPart) ); + iSource->BodyFile().Write(iCurrentBuf, iStatus); } // -----------------------------------------------------------------------------