Added deallocation of ObjectList::m_objects_model into the ObjectList destructor.
This commit is contained in:
parent
4387436525
commit
0726b46da2
2 changed files with 2 additions and 1 deletions
|
@ -239,6 +239,7 @@ ObjectList::ObjectList(wxWindow* parent) :
|
|||
|
||||
ObjectList::~ObjectList()
|
||||
{
|
||||
delete m_objects_model;
|
||||
}
|
||||
|
||||
void ObjectList::set_min_height()
|
||||
|
|
|
@ -191,7 +191,7 @@ private:
|
|||
|
||||
public:
|
||||
ObjectList(wxWindow* parent);
|
||||
~ObjectList();
|
||||
~ObjectList() override;
|
||||
|
||||
void set_min_height();
|
||||
void update_min_height();
|
||||
|
|
Loading…
Reference in a new issue