From 8318b11d7f0f1a50be447b515aa6d0b11eb18827 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Mon, 16 Jul 2018 15:35:58 +0800 Subject: [PATCH] user32/tests: Fix a memory leak. Signed-off-by: Zhiyi Zhang Signed-off-by: Alexandre Julliard --- dlls/user32/tests/dialog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user32/tests/dialog.c b/dlls/user32/tests/dialog.c index 807a85b4eaa..e1fe8038f0c 100644 --- a/dlls/user32/tests/dialog.c +++ b/dlls/user32/tests/dialog.c @@ -787,6 +787,7 @@ static void test_IsDialogMessage(void) ok (!IsDialogMessageA(msg.hwnd, &msg), "expected failure\n"); UnhookWindowsHookEx(hook); + DestroyWindow(g_hwndMain); } -- 2.11.4.GIT