summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-10-28 18:05:41 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-10-28 18:05:41 +0200
commit524d921932970cd4ff81d06b0ddb7cb6c1effe90 (patch)
treeea44a3648c5d421b91ffc6832ed5a5f2f40582cf
parent05b3e8cdc7f6cf7056c96d9cd150a0e2a8fb85a4 (diff)
Rewrite event handler to use shared_ptr Events instead of raw pointers.
-rw-r--r--plugingui/nativewindow_win32.cc1
1 files changed, 0 insertions, 1 deletions
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
}