locationrequestmgmt/networkrequesthandler/src/EPos_CPosPrivManager.cpp
branchRCL_3
changeset 18 54d74d217042
parent 0 9cfd9a3ee49c
child 28 cf8bf9651775
child 49 5f20f71a57a3
--- a/locationrequestmgmt/networkrequesthandler/src/EPos_CPosPrivManager.cpp	Wed Mar 31 23:44:31 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/src/EPos_CPosPrivManager.cpp	Wed Apr 14 17:26:05 2010 +0300
@@ -287,6 +287,7 @@
             {
             iRequestData.iNotificationReason = EPosDecisionByRequestSource;
             iDlgCtrl->NotifyL(*iRequestInfo, iRequestData);
+            delete iRequestInfo;
             iRequestInfo = NULL;
             iRequestInfo = new (ELeave) TLbsExternalRequestInfo2;
             }
@@ -395,6 +396,7 @@
     iRequestData.iCancelReason = EPosCancelReasonNotAvailable;
 
     iDlgCtrl->NotifyL(*iRequestInfo, iRequestData);
+    delete iRequestInfo;
     iRequestInfo = NULL;
     iRequestInfo = new (ELeave) TLbsExternalRequestInfo2;
     }