diff -r d38941471f1c -r cb32bcc88bad resourcemgmt/hwresourcesmgr/server/src/HWRMVibraService.cpp --- a/resourcemgmt/hwresourcesmgr/server/src/HWRMVibraService.cpp Wed Sep 29 15:13:21 2010 +0300 +++ b/resourcemgmt/hwresourcesmgr/server/src/HWRMVibraService.cpp Fri Oct 08 14:33:25 2010 +0300 @@ -522,10 +522,11 @@ CHWRMGenericTimer* timer = CHWRMGenericTimer::NewL(*this, iVibraCommonData.MaximumOnTime(), count ); iActiveTimerId = count; + CleanupStack::PushL( timer ); CPulseData* pulseData = CPulseData::NewL(*timer, iLastIntensity, aIntensity, iActiveTimerId ); CleanupStack::PushL( pulseData ); iPulseData.AppendL( pulseData ); - CleanupStack::Pop( pulseData ); + CleanupStack::Pop( 2, timer ); iPulseData[count]->Timer().Set(aDuration); }