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:
Zhiyi Zhang 2018-07-16 15:35:58 +08:00 committed by Alexandre Julliard
parent 6b620e6d61
commit 8318b11d7f
1 changed files with 1 additions and 0 deletions

View File

@ -787,6 +787,7 @@ static void test_IsDialogMessage(void)
ok (!IsDialogMessageA(msg.hwnd, &msg), "expected failure\n");
UnhookWindowsHookEx(hook);
DestroyWindow(g_hwndMain);
}