mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-16 18:41:49 +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:
|
||||
DiffViewCtrl(wxWindow* parent, wxSize size);
|
||||
~DiffViewCtrl() {}
|
||||
~DiffViewCtrl() override { Clear(); delete model; }
|
||||
|
||||
DiffModel* model{ nullptr };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user