diff -r aa5a574040a4 -r a93990e5815e harvester/monitorplugins/messageplugin/src/messagemonitorplugin.cpp --- 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" );