mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-19 22:14:27 +08:00
Added deallocation of DiffViewCtrl::model into the DiffViewCtrl destructor.
This commit is contained in:
parent
e711cb50d0
commit
8342b7f95b
@ -204,7 +204,7 @@ class DiffViewCtrl : public wxDataViewCtrl
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
DiffViewCtrl(wxWindow* parent, wxSize size);
|
DiffViewCtrl(wxWindow* parent, wxSize size);
|
||||||
~DiffViewCtrl() {}
|
~DiffViewCtrl() override { Clear(); delete model; }
|
||||||
|
|
||||||
DiffModel* model{ nullptr };
|
DiffModel* model{ nullptr };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user