browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrClntSubSession.cpp
--- a/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrClntSubSession.cpp Fri Jul 03 15:54:40 2009 +0100
+++ b/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrClntSubSession.cpp Thu Aug 27 07:44:59 2009 +0300
@@ -3305,9 +3305,11 @@
SDMgrCodUserData* userData = new (ELeave) SDMgrCodUserData;
userData->iHandle = iHandle;
userData->iPrevCodEvent = (MCodDownloadObserver::EDone);
- iCodDownload->SetUserData( (TAny*)userData );
- iDownloadMgr->IncrementEventPriorityFlag();
-
+ if(iCodDownload)
+ {
+ iCodDownload->SetUserData( (TAny*)userData );
+ iDownloadMgr->IncrementEventPriorityFlag();
+ }
}
// ---------------------------------------------------------