serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tgetlocationcancel.cpp
--- a/serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tgetlocationcancel.cpp Fri Jul 03 15:51:24 2009 +0100
+++ b/serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tgetlocationcancel.cpp Thu Aug 27 07:43:07 2009 +0300
@@ -54,6 +54,7 @@
TInt GetLocCancelL()
{
+ __UHEAP_MARK ;
GetLoctionCancel MyUpdates ;
CActiveScheduler *Scheduler = CActiveScheduler :: Current() ;
@@ -134,11 +135,12 @@
TInt ret = (errprm->Value()).AsTInt32() ;
delete Scheduler ;
-
+ a.ResetAndDestroy();
locinterface->Close();
delete InputList ;
delete OutParmList ;
-
+ delete ServiceHandler;
+ __UHEAP_MARKEND ;
return ret ;
}