--- a/photosgallery/contentharvesterplugin/src/glxcontentharvesterplugindownloads.cpp Thu Jan 07 12:46:23 2010 +0200
+++ b/photosgallery/contentharvesterplugin/src/glxcontentharvesterplugindownloads.cpp Mon Jan 18 20:19:20 2010 +0200
@@ -125,7 +125,13 @@
void CGlxContentHarvesterPluginDownloads::UpdateDataL()
{
TRACER( "CGlxContentHarvesterPluginDownloads::UpdateDataL" );
- if(iMediaList && iMediaList->Count() && iPreviewItemCount.Count() )
+
+ if (!iMediaList)
+ {
+ return;
+ }
+
+ if (iMediaList->Count() && iPreviewItemCount.Count())
{
GLX_LOG_INFO1("CGlxContentHarvesterPluginDownloads::UpdateDataL(),iProgressIndex=%d",iProgressIndex);
TInt ret = UpdateItem(iPreviewItemCount[iProgressIndex]);