mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue