harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp
branchRCL_3
changeset 19 b73252188534
parent 0 c53acadfccc6
--- a/harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp	Thu Jul 15 19:07:24 2010 +0300
+++ b/harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp	Thu Aug 19 10:20:41 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;
 	}