diff --git a/src/gui/components/cc_item_picture.h b/src/gui/components/cc_item_picture.h index 4708d1742..da8befa29 100644 --- a/src/gui/components/cc_item_picture.h +++ b/src/gui/components/cc_item_picture.h @@ -134,7 +134,7 @@ class CComponentsPicture : public CComponentsItem int transparent = CFrameBuffer::TM_NONE); virtual~CComponentsPicture() { - delete[]image_cache; + clearCache(); } ///sets an image name (unscaled icons only), full image path or url to an image file