diff -r 208a4ba3894c -r 6832643895f7 harvesterplugins/calendar/src/ccalendarplugin.cpp --- a/harvesterplugins/calendar/src/ccalendarplugin.cpp Mon May 03 12:32:15 2010 +0300 +++ b/harvesterplugins/calendar/src/ccalendarplugin.cpp Fri May 14 15:53:17 2010 +0300 @@ -367,6 +367,10 @@ // Return the entry that has been fetched, this will be NULL if there are // no entries with the cal unique id CCalEntry* entry = iEntryView->FetchL(aLocalUid); + if ( entry == NULL ) { + CleanupStack::PopAndDestroy(index_item); + return; + } // TODO leave if entry is NULL CleanupStack::PushL(entry); // TODO Uncomment below portion of code when the latest Organiser code in MCL