summaryrefslogtreecommitdiff
path: root/src/core/stdmsg
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-18 10:39:19 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-18 10:39:19 +0000
commit14bbfeba5cc365fbf4adf7d5f1bae107159c524c (patch)
treeddd78d30f44de831d8e6d795fd2fa781ce479f11 /src/core/stdmsg
parentc4c881e04ba970c6ce373fc9333d6911f8a47a7d (diff)
Fixed severe memleak in msgdialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@13675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}