[PATCH 1/9] user32/tests: Fix a memory leak.
Zhiyi Zhang
zzhang at codeweavers.com
Mon Jul 16 02:35:58 CDT 2018
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
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 807a85b4ea..e1fe8038f0 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.18.0
More information about the wine-devel
mailing list