diff -r 9a9a761f03f1 -r 0ed94ceaa377 webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp --- a/webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp Tue Nov 24 09:02:20 2009 +0200 +++ b/webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp Thu Dec 17 09:20:16 2009 +0200 @@ -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); } // -----------------------------------------------------------------------------