--- a/voipplugins/sipconnectionprovider/src/scpprofilehandler.cpp Mon Mar 15 12:39:55 2010 +0200
+++ b/voipplugins/sipconnectionprovider/src/scpprofilehandler.cpp Wed Mar 31 21:20:05 2010 +0300
@@ -471,9 +471,12 @@
iAlrController->AllowMigrationL( aProfileId, iNewAlrIapId ) );
CScpSipConnection* sipConnection( NULL );
+ sipConnection = GetSipConnection( aProfileId );
- sipConnection = GetSipConnection( aProfileId );
- sipConnection->SetProfileCurrentlyRoaming();
+ if ( sipConnection )
+ {
+ sipConnection->SetProfileCurrentlyRoaming();
+ }
SCPLOGSTRING( "CScpProfileHandler::StartMigrtion -exit" );
}