comctl32: Fix a memory leak (valgrind).
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ba42efdb14
commit
b4a9f3f3f3
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue