comctl32: Fix a memory leak (valgrind).

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Austin English 2019-02-20 22:41:28 -06:00 committed by Alexandre Julliard
parent ba42efdb14
commit b4a9f3f3f3
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}