Added deallocation of ObjectList::m_objects_model into the ObjectList destructor.

This commit is contained in:
Lukáš Hejl 2022-01-28 09:42:25 +01:00
parent 4387436525
commit 0726b46da2
2 changed files with 2 additions and 1 deletions

View File

@ -239,6 +239,7 @@ ObjectList::ObjectList(wxWindow* parent) :
ObjectList::~ObjectList() ObjectList::~ObjectList()
{ {
delete m_objects_model;
} }
void ObjectList::set_min_height() void ObjectList::set_min_height()

View File

@ -191,7 +191,7 @@ private:
public: public:
ObjectList(wxWindow* parent); ObjectList(wxWindow* parent);
~ObjectList(); ~ObjectList() override;
void set_min_height(); void set_min_height();
void update_min_height(); void update_min_height();