diff -r ced935b952ef -r 6cd49ffea600 systemsettings/gssensorplugin/src/gssenbasecontainer.cpp --- a/systemsettings/gssensorplugin/src/gssenbasecontainer.cpp Tue Jun 15 16:07:48 2010 +0100 +++ b/systemsettings/gssensorplugin/src/gssenbasecontainer.cpp Thu Jul 22 16:35:22 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-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" @@ -189,7 +189,11 @@ // cleanup checkboxOnIcon, checkboxOffIcon, iconArray CleanupStack::Pop( checkboxOffIcon ); CleanupStack::Pop( checkboxOnIcon ); - CleanupStack::Pop( iconArray ); + + if(iconArray) + { + CleanupStack::Pop( iconArray ); + } TRACE_( "[GSSensorPlugin] CGSSenBaseContainer::AddCheckboxIconsL() - return" ); }