From 14bbfeba5cc365fbf4adf7d5f1bae107159c524c Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Mon, 18 May 2015 10:39:19 +0000 Subject: Fixed severe memleak in msgdialog git-svn-id: http://svn.miranda-ng.org/main/trunk@13675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdmsg/src/msgdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index ba477219d6..1699b3a74c 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -469,7 +469,7 @@ static LRESULT CALLBACK MessageEditSubclassProc(HWND hwnd, UINT msg, WPARAM wPar case WM_DESTROY: mir_free(dat); - return 0; + break; } return mir_callNextSubclass(hwnd, MessageEditSubclassProc, msg, wParam, lParam); } -- cgit v1.2.3