diff -r aa5a574040a4 -r a93990e5815e harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp --- a/harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp Tue Jul 06 14:44:37 2010 +0300 +++ b/harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp Wed Aug 18 10:12:07 2010 +0300 @@ -40,6 +40,7 @@ CFileMonitorPlugin::~CFileMonitorPlugin() { delete iFileMonitor; + iFileMonitor = NULL; } // --------------------------------------------------------------------------- @@ -67,6 +68,7 @@ TRAP( err, cenRepoUtil->AddIgnorePathsToFspL( KDrive, KMonitorPath )); } delete cenRepoUtil; + cenRepoUtil = NULL; } return success && err == KErrNone; }