mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
cc_item_infobxox: reset pic and cctext in destructor for sure
This commit is contained in:
@@ -79,8 +79,8 @@ CComponentsInfoBox::CComponentsInfoBox( const int& x_pos,
|
|||||||
|
|
||||||
CComponentsInfoBox::~CComponentsInfoBox()
|
CComponentsInfoBox::~CComponentsInfoBox()
|
||||||
{
|
{
|
||||||
delete pic;
|
delete pic; pic = NULL;
|
||||||
delete cctext;
|
delete cctext; cctext = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsInfoBox::setPicture(const std::string& picture_name, const int& dx, const int& dy)
|
void CComponentsInfoBox::setPicture(const std::string& picture_name, const int& dx, const int& dy)
|
||||||
|
Reference in New Issue
Block a user