Added deallocation of DiffViewCtrl::model into the DiffViewCtrl destructor.
This commit is contained in:
parent
e711cb50d0
commit
8342b7f95b
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class DiffViewCtrl : public wxDataViewCtrl
|
|||
|
||||
public:
|
||||
DiffViewCtrl(wxWindow* parent, wxSize size);
|
||||
~DiffViewCtrl() {}
|
||||
~DiffViewCtrl() override { Clear(); delete model; }
|
||||
|
||||
DiffModel* model{ nullptr };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue