systemsettings/gssensorplugin/src/gssenbasecontainer.cpp
changeset 40 951aeeb3da43
parent 0 2e3d3ce01487
child 63 c2c61fdca848
--- a/systemsettings/gssensorplugin/src/gssenbasecontainer.cpp	Thu May 27 13:01:09 2010 +0300
+++ b/systemsettings/gssensorplugin/src/gssenbasecontainer.cpp	Fri Jun 11 13:48:03 2010 +0300
@@ -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" );
     }