user32/tests: Fix a memory leak.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6b620e6d61
commit
8318b11d7f
|
@ -787,6 +787,7 @@ static void test_IsDialogMessage(void)
|
|||
ok (!IsDialogMessageA(msg.hwnd, &msg), "expected failure\n");
|
||||
|
||||
UnhookWindowsHookEx(hook);
|
||||
DestroyWindow(g_hwndMain);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue