From 524d921932970cd4ff81d06b0ddb7cb6c1effe90 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 28 Oct 2016 18:05:41 +0200 Subject: Rewrite event handler to use shared_ptr Events instead of raw pointers. --- plugingui/nativewindow_win32.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index b318f59..57302eb 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -150,7 +150,6 @@ LRESULT CALLBACK NativeWindowWin32::dialogProc(HWND hwnd, UINT msg, } else { - delete buttonEvent; break; // unknown button } -- cgit v1.2.3