diff --git a/src/gui/components/cc_item_infobox.cpp b/src/gui/components/cc_item_infobox.cpp index 4385341be..0477cf1f3 100644 --- a/src/gui/components/cc_item_infobox.cpp +++ b/src/gui/components/cc_item_infobox.cpp @@ -96,11 +96,9 @@ void CComponentsInfoBox::paintPicture() { //ensure empty pic object if (pic){ - if (pic->isPicPainted()) - pic->kill(); delete pic; + pic = NULL; } - pic = NULL; //exit if no image definied if (pic_name.empty())