qthighway/xqserviceipc/xqserviceipcserver/xqserviceipcserver_apasymbianserver.cpp
--- a/qthighway/xqserviceipc/xqserviceipcserver/xqserviceipcserver_apasymbianserver.cpp Fri Sep 17 08:34:25 2010 +0300
+++ b/qthighway/xqserviceipc/xqserviceipcserver/xqserviceipcserver_apasymbianserver.cpp Mon Oct 04 01:32:41 2010 +0300
@@ -129,6 +129,7 @@
delete stateNotifyKey;
RProcess currentProcess;
+ CleanupClosePushL(currentProcess);
const TSecureId secureId = currentProcess.SecureId();
stateNotifyKey = new XQPublishAndSubscribeSettingsKey(secureId.iId, id);
@@ -139,6 +140,7 @@
} else {
settingsManager.writeItemValue(*stateNotifyKey, static_cast<int>(XQApplicationManager::ServiceStarted));
}
+ CleanupStack::PopAndDestroy(¤tProcess);
}
// Complete the server rendezvous that th client started
XQSERVICE_DEBUG_PRINT("CApaSymbianServer::Rendezvouz");