harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp
changeset 45 a93990e5815e
parent 20 6dfc5f825351
child 51 87e65c44ff3a
--- a/harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp	Tue Jul 06 14:44:37 2010 +0300
+++ b/harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp	Wed Aug 18 10:12:07 2010 +0300
@@ -64,7 +64,9 @@
 	{
 	WRITELOG("ENTER ~CMessageMonitorPlugin");
     delete iMsvSession;
+    iMsvSession = NULL;
     delete iMessageScannerAO;
+    iMessageScannerAO = NULL;
 	WRITELOG("END ~CMessageMonitorPlugin");	
 	}
 
@@ -465,6 +467,7 @@
 		
 		iMdeSession->AddEventL( *event );
 		delete event;
+		event = NULL;
     	}
     
     WRITELOG( "CMessageMonitorPlugin::RemoveObjectL return" );