Module: wine Branch: master Commit: b4a9f3f3f3797465329e0839d480100e4a151b90 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b4a9f3f3f3797465329e0839d...
Author: Austin English austinenglish@gmail.com Date: Wed Feb 20 22:41:28 2019 -0600
comctl32: Fix a memory leak (valgrind).
Signed-off-by: Austin English austinenglish@gmail.com Signed-off-by: Alexandre Julliard julliard@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); }