--- a/srsf/vcommandmanager/src/vcmanagervoiceheadsetlauncher.cpp Wed Apr 14 15:58:44 2010 +0300
+++ b/srsf/vcommandmanager/src/vcmanagervoiceheadsetlauncher.cpp Tue May 11 16:14:47 2010 +0300
@@ -80,6 +80,7 @@
// iCallHandlingTarget will be destroyed when iSelector is destroyed.
delete iSelector;
+ iProperty.Close();
RUBY_DEBUG0( "CVCommandManagerVoiceHeadSetLauncher::~CVCommandManagerVoiceHeadSetLauncher - EXIT" );
}
@@ -237,6 +238,7 @@
{
RApaLsSession apaLsSession;
User::LeaveIfError( apaLsSession.Connect() );
+ CleanupClosePushL(apaLsSession);
TApaAppInfo appInfo;
User::LeaveIfError( apaLsSession.GetAppInfo( appInfo, KVoiceUiUID ) );
@@ -256,7 +258,7 @@
User::LeaveIfError ( apaLsSession.StartApp( *apaCommandLine ) );
CleanupStack::PopAndDestroy( apaCommandLine );
- apaLsSession.Close();
+ CleanupStack::PopAndDestroy(&apaLsSession);
}
}
}