cc_item_infobxox: reset pic and cctext in destructor for sure

Origin commit data
------------------
Branch: ni/coolstream
Commit: 373e70b7c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2020-01-05 22:22:22 +01:00
committed by vanhofen
parent 6647c62de9
commit c43e9309b9

View File

@@ -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)