uifw/EikStd/coctlsrc/EIKBTGPC.CPP
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
child 55 aecbbf00d063
--- a/uifw/EikStd/coctlsrc/EIKBTGPC.CPP	Tue Feb 02 01:00:49 2010 +0200
+++ b/uifw/EikStd/coctlsrc/EIKBTGPC.CPP	Fri Feb 19 23:04:46 2010 +0200
@@ -495,7 +495,7 @@
     CFbsBitmap* mask = AknIconUtils::CreateIconL(aFile, aMaskId);
     CleanupStack::PushL(mask);
     DoSetCommandL(aPosition, aCommandId, aText, bitmap, mask, aOp);
-    CleanupStack::Pop(2); // bitmap, mask
+    CleanupStack::PopAndDestroy(2); // bitmap, mask
     }
 
 EXPORT_C void CEikButtonGroupContainer::DoSetCommandL(