diff -r 5210ffae7137 -r 910a23996aa0 harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp --- a/harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp Wed Jul 14 07:57:22 2010 +0300 +++ b/harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp Fri Jul 23 10:03:59 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" );