Fix small memory leak.

This commit is contained in:
Edênis Freindorfer Azevedo 2019-07-01 15:30:23 -03:00 committed by Rafael Kitover
parent c366907f64
commit 91501becf6
2 changed files with 2 additions and 0 deletions

View File

@ -677,6 +677,7 @@ wxvbamApp::~wxvbamApp() {
free(home); free(home);
home = NULL; home = NULL;
} }
delete overrides;
} }
MainFrame::MainFrame() MainFrame::MainFrame()

View File

@ -79,6 +79,7 @@ public:
wxvbamApp() wxvbamApp()
: wxApp() : wxApp()
, pending_fullscreen(false) , pending_fullscreen(false)
, frame(NULL)
, using_wayland(false) , using_wayland(false)
{ {
} }