equal
deleted
inserted
replaced
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 iMaxReportingPeriodNotifyHandler->StopListening(); |
169 if (iMaxReportingPeriodNotifyHandler) |
170 delete iMaxReportingPeriodNotifyHandler; |
170 { |
171 iMaxReportingPeriodNotifyHandler = NULL; |
171 iMaxReportingPeriodNotifyHandler->StopListening(); |
172 |
172 delete iMaxReportingPeriodNotifyHandler; |
|
173 iMaxReportingPeriodNotifyHandler = NULL; |
|
174 } |
|
175 |
173 delete iRepository; |
176 delete iRepository; |
174 iRepository = NULL; |
177 iRepository = NULL; |
175 |
178 |
176 delete iPowerReportClientsData; |
179 delete iPowerReportClientsData; |
177 iPowerReportClientsData = NULL; |
180 iPowerReportClientsData = NULL; |