harvester/monitorplugins/fileplugin/src/filemonitorplugin.cpp
changeset 54 a3cc46f37772
parent 0 c53acadfccc6
child 63 e538444823de
equal deleted inserted replaced
36:aa5a574040a4 54:a3cc46f37772
    38 // ---------------------------------------------------------------------------
    38 // ---------------------------------------------------------------------------
    39 //
    39 //
    40 CFileMonitorPlugin::~CFileMonitorPlugin() 
    40 CFileMonitorPlugin::~CFileMonitorPlugin() 
    41 	{
    41 	{
    42 	delete iFileMonitor;
    42 	delete iFileMonitor;
       
    43 	iFileMonitor = NULL;
    43 	}
    44 	}
    44 
    45 
    45 // ---------------------------------------------------------------------------
    46 // ---------------------------------------------------------------------------
    46 // CFileMonitorPlugin::StartMonitoring()
    47 // CFileMonitorPlugin::StartMonitoring()
    47 // ---------------------------------------------------------------------------
    48 // ---------------------------------------------------------------------------
    65 		if( cenRepoUtil )
    66 		if( cenRepoUtil )
    66 			{
    67 			{
    67 			TRAP( err, cenRepoUtil->AddIgnorePathsToFspL( KDrive, KMonitorPath ));
    68 			TRAP( err, cenRepoUtil->AddIgnorePathsToFspL( KDrive, KMonitorPath ));
    68 			}
    69 			}
    69 		delete cenRepoUtil;
    70 		delete cenRepoUtil;
       
    71 		cenRepoUtil = NULL;
    70 		}
    72 		}
    71 	return success && err == KErrNone;
    73 	return success && err == KErrNone;
    72 	}
    74 	}
    73 
    75 
    74 // ---------------------------------------------------------------------------
    76 // ---------------------------------------------------------------------------