harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp
branchRCL_3
changeset 47 b73252188534
parent 14 646a02f170b9
child 57 2872ae438bf7
--- a/harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp	Thu Jul 15 19:07:24 2010 +0300
+++ b/harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp	Thu Aug 19 10:20:41 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" );