serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tconcurrentgetlocation.cpp
--- a/serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tconcurrentgetlocation.cpp Fri Jul 03 15:51:24 2009 +0100
+++ b/serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tconcurrentgetlocation.cpp Thu Aug 27 07:43:07 2009 +0300
@@ -77,7 +77,7 @@
TInt ConcurrentGetLocCallsL()
{
-
+ __UHEAP_MARK ;
CActiveScheduler *Scheduler = new CActiveScheduler ;
@@ -158,12 +158,13 @@
TLiwVariant ErrVariant = errparam->Value() ;
TInt ret = ErrVariant.AsTInt32() ;
-
+ a.ResetAndDestroy() ;
locinterface->Close() ;
delete ServiceHandler ;
delete InputList ;
delete OutParmList ;
delete Scheduler ;
+ __UHEAP_MARKEND ;
return ret ; // Controll never reaches here
}