From 3a6701452a710b17801018bbfc92cdfaefc2e51b Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 3 Oct 2016 13:49:32 +0200 Subject: [PATCH] 1.5.2 False positives from security audit resolved --- EventMonitor/App.cpp | 6 +++--- EventMonitor/App.h | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/EventMonitor/App.cpp b/EventMonitor/App.cpp index f92dd8d..6fef987 100644 --- a/EventMonitor/App.cpp +++ b/EventMonitor/App.cpp @@ -70,9 +70,9 @@ bool wxEventMonitorApp::OnInit() } #endif - m_mainWnd = new wxEventMonitorFrame(NULL); - wxPersistentRegisterAndRestore(m_mainWnd); - m_mainWnd->Show(); + wxEventMonitorFrame *mainWnd = new wxEventMonitorFrame(NULL); + wxPersistentRegisterAndRestore(mainWnd); + mainWnd->Show(); return true; } diff --git a/EventMonitor/App.h b/EventMonitor/App.h index 9c88010..e318603 100644 --- a/EventMonitor/App.h +++ b/EventMonitor/App.h @@ -54,7 +54,6 @@ public: //virtual int OnExit(); public: - wxEventMonitorFrame *m_mainWnd; ///< Main window wxLocale m_locale; ///< Current locale };