1.5.2 False positives from security audit resolved

This commit is contained in:
Simon Rozman 2016-10-03 13:49:32 +02:00
parent 01245d15d9
commit 10c03ccedb
2 changed files with 3 additions and 4 deletions

View File

@ -70,9 +70,9 @@ bool wxEventMonitorApp::OnInit()
}
#endif
m_mainWnd = new wxEventMonitorFrame(NULL);
wxPersistentRegisterAndRestore<wxEventMonitorFrame>(m_mainWnd);
m_mainWnd->Show();
wxEventMonitorFrame *mainWnd = new wxEventMonitorFrame(NULL);
wxPersistentRegisterAndRestore<wxEventMonitorFrame>(mainWnd);
mainWnd->Show();
return true;
}

View File

@ -54,7 +54,6 @@ public:
//virtual int OnExit();
public:
wxEventMonitorFrame *m_mainWnd; ///< Main window
wxLocale m_locale; ///< Current locale
};