diff -r 6cadd6867c17 -r 67f2ed48ad91 idlefw/src/framework/aiuicontrollermanager.cpp --- a/idlefw/src/framework/aiuicontrollermanager.cpp Wed Sep 15 12:32:36 2010 +0300 +++ b/idlefw/src/framework/aiuicontrollermanager.cpp Wed Oct 13 14:53:46 2010 +0300 @@ -55,9 +55,9 @@ User::LeaveIfError( aRepository.Get( KAiMainUIController, value ) ); CAiUiController* controller = CAiUiController::NewL( TUid::Uid( value ) ); + + iCreatedUICList.Append( value ); CleanupStack::PushL( controller ); - - iCreatedUICList.AppendL( value ); iMainUiController = controller->MainInterface(); @@ -98,7 +98,7 @@ continue; } - iCreatedUICList.AppendL( value ); + iCreatedUICList.Append( value ); CAiUiController* controller = CAiUiController::NewL( TUid::Uid( value ) );