uigraphics/AknIcon/src/AknIconManager.cpp
changeset 2 abcbdabaa4c5
parent 0 05e9090e2422
--- a/uigraphics/AknIcon/src/AknIconManager.cpp	Thu Jan 07 13:25:09 2010 +0200
+++ b/uigraphics/AknIcon/src/AknIconManager.cpp	Mon Jan 18 21:12:52 2010 +0200
@@ -212,6 +212,10 @@
                    this, aSize.iWidth, aSize.iHeight, aMode, aAngle);
 #endif    
     
+    if(!iBitmap)
+        {
+            return KErrCorrupt;
+        }
     // If already initialized with the same parameters, do nothing.
     if ( iBitmap->Handle() )
         {