1.5.2 False positives from security audit resolved

This commit is contained in:
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;
}