Commit 8318b11d authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

user32/tests: Fix a memory leak.

parent 6b620e6d
...@@ -787,6 +787,7 @@ static void test_IsDialogMessage(void) ...@@ -787,6 +787,7 @@ static void test_IsDialogMessage(void)
ok (!IsDialogMessageA(msg.hwnd, &msg), "expected failure\n"); ok (!IsDialogMessageA(msg.hwnd, &msg), "expected failure\n");
UnhookWindowsHookEx(hook); UnhookWindowsHookEx(hook);
DestroyWindow(g_hwndMain);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment