Austin English : comctl32: Fix a memory leak (valgrind).

Alexandre Julliard julliard at winehq.org
Thu Feb 21 14:50:13 CST 2019


Module: wine
Branch: master
Commit: b4a9f3f3f3797465329e0839d480100e4a151b90
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b4a9f3f3f3797465329e0839d480100e4a151b90

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 20 22:41:28 2019 -0600

comctl32: Fix a memory leak (valgrind).

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/tests/subclass.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/comctl32/tests/subclass.c b/dlls/comctl32/tests/subclass.c
index 41ba065..fc778d6 100644
--- a/dlls/comctl32/tests/subclass.c
+++ b/dlls/comctl32/tests/subclass.c
@@ -273,6 +273,9 @@ static void test_subclass(void)
     ret = pSetWindowSubclass(hwnd, NULL, 1, 0);
     ok(ret == FALSE, "Expected FALSE\n");
 
+    pRemoveWindowSubclass(hwnd, wnd_proc_sub, 2);
+    pRemoveWindowSubclass(hwnd, wnd_proc_sub, 5);
+
     DestroyWindow(hwnd);
 }
 




More information about the wine-cvs mailing list