diff -r 03849bd79877 -r fdbfe0a95492 deviceupdatesui/deviceupdates/src/deviceupdatemoniter.cpp --- a/deviceupdatesui/deviceupdates/src/deviceupdatemoniter.cpp Fri Sep 17 19:58:05 2010 +0530 +++ b/deviceupdatesui/deviceupdates/src/deviceupdatemoniter.cpp Fri Oct 15 11:39:02 2010 +0530 @@ -26,9 +26,11 @@ { FLOG(_L("CDeviceUpdateMoniter::NewL >>")); CDeviceUpdateMoniter* h=new (ELeave)CDeviceUpdateMoniter; + CleanupStack::PushL( h ); h->iObserver = aObserver; h->ConstructL(); FLOG(_L("CDeviceUpdateMoniter::NewL <<")); + CleanupStack::Pop( h ); return h; }