harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp
changeset 40 910a23996aa0
parent 0 c53acadfccc6
child 63 e538444823de
--- a/harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp	Wed Jul 14 07:57:22 2010 +0300
+++ b/harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp	Fri Jul 23 10:03:59 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;
 	}