harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp
changeset 45 a93990e5815e
parent 0 c53acadfccc6
child 63 e538444823de
--- 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;
 	}