resourcemgmt/hwresourcesmgr/server/src/HWRMPowerCommonData.cpp
branchRCL_3
changeset 61 8cb079868133
parent 60 ccb4f6b3db21
child 81 24127ea5a236
equal deleted inserted replaced
60:ccb4f6b3db21 61:8cb079868133
   164     COMPONENT_TRACE1(_L( "HWRM Server - CHWRMPowerCommonData::~CHWRMPowerCommonData()" ) );
   164     COMPONENT_TRACE1(_L( "HWRM Server - CHWRMPowerCommonData::~CHWRMPowerCommonData()" ) );
   165     
   165     
   166     delete iPowerService;
   166     delete iPowerService;
   167     iPowerService = NULL;
   167     iPowerService = NULL;
   168     
   168     
   169     if (iMaxReportingPeriodNotifyHandler)
   169     iMaxReportingPeriodNotifyHandler->StopListening();
   170     	{
   170     delete iMaxReportingPeriodNotifyHandler;
   171 	    iMaxReportingPeriodNotifyHandler->StopListening();
   171     iMaxReportingPeriodNotifyHandler =  NULL;
   172 	    delete iMaxReportingPeriodNotifyHandler;
   172 
   173 	    iMaxReportingPeriodNotifyHandler =  NULL;
       
   174     	}
       
   175     	
       
   176     delete iRepository;  
   173     delete iRepository;  
   177     iRepository = NULL;
   174     iRepository = NULL;
   178     
   175     
   179     delete iPowerReportClientsData;
   176     delete iPowerReportClientsData;
   180     iPowerReportClientsData = NULL;
   177     iPowerReportClientsData = NULL;