--- a/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrSrvObject.cpp Fri Jul 03 15:54:40 2009 +0100
+++ b/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrSrvObject.cpp Thu Aug 27 07:44:59 2009 +0300
@@ -739,7 +739,7 @@
RFile* file = new (ELeave) RFile;
CleanupStack::PushL( file );
- file->AdoptFromClient( Message(), 0, 1 );
+ User::LeaveIfError( file->AdoptFromClient( Message(), 0, 1 ) );
// ownership is passed to the engine
iDownload->SetFileHandleAttributeL( file );