contextengine/plugins/calendarplugin/src/CalendarContextPlugin.cpp
changeset 45 a93990e5815e
parent 23 33ae025ac1e8
child 51 87e65c44ff3a
--- a/contextengine/plugins/calendarplugin/src/CalendarContextPlugin.cpp	Tue Jul 06 14:44:37 2010 +0300
+++ b/contextengine/plugins/calendarplugin/src/CalendarContextPlugin.cpp	Wed Aug 18 10:12:07 2010 +0300
@@ -89,12 +89,15 @@
 	{
 	WRITELOG( "CCalendarContextPlugin::~CCalendarContextPlugin -- ENTER" );
 	delete iCalInstanceView;
+	iCalInstanceView = NULL;
 	delete iCalSession;
+	iCalSession = NULL;
 	
 	if( iInitTimer )
 	    {
 	    iInitTimer->Cancel();
 	    delete iInitTimer;
+	    iInitTimer = NULL;
 	    }
 		
 	WRITELOG( "CCalendarContextPlugin::~CCalendarContextPlugin -- RETURN" );