--- a/voipplugins/accountcreationplugin/engine/src/acpcontroller.cpp Fri Feb 19 22:44:34 2010 +0200
+++ b/voipplugins/accountcreationplugin/engine/src/acpcontroller.cpp Fri Mar 12 15:42:09 2010 +0200
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -134,8 +134,11 @@
{
ACPLOG( "CAcpController::FetchProviderListFromNetworkL begin" );
- // Create SIP profile registry. From now on we'll get SIP events.
- iSipModel = CSIPManagedProfileRegistry::NewL( *this );
+ if ( !iSipModel )
+ {
+ // Create SIP profile registry. From now on we'll get SIP events.
+ iSipModel = CSIPManagedProfileRegistry::NewL( *this );
+ }
// Delete old data, otherwise Refresh won't work.
delete iData;