browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrClntSession.cpp
changeset 16 a359256acfc6
parent 0 dd21522fd290
child 36 0ed94ceaa377
--- a/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrClntSession.cpp	Fri Jul 03 15:54:40 2009 +0100
+++ b/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrClntSession.cpp	Thu Aug 27 07:44:59 2009 +0300
@@ -345,7 +345,10 @@
             	
             	// Update CodData in Download Mgr Server
             	HBufC8* mediaInfo8 = NULL;
-    	    	mediaInfo8 = download->iCodDownload->UpdatedDownloadDataL();
+            	if(download->iCodDownload)
+            	    {
+            	    mediaInfo8 = download->iCodDownload->UpdatedDownloadDataL();
+            	    }
     	    	if (mediaInfo8)
     	        	{
     	        	download->SetDownloadDataAttribute(*mediaInfo8);