Dmitry Timoshkov : user32/tests: Don't leave a stray test window behind.

Alexandre Julliard julliard at winehq.org
Mon Nov 13 16:24:18 CST 2017


Module: wine
Branch: master
Commit: 5aafd080d1941904e3ae9ad1b0705cea973919f1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5aafd080d1941904e3ae9ad1b0705cea973919f1

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Nov 13 18:11:56 2017 +0800

user32/tests: Don't leave a stray test window behind.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/tests/win.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index feca2be..eace140 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -4932,6 +4932,7 @@ static void test_dialog_parent(void)
     ok(!IsWindowEnabled(other), "other is enabled\n");
     EnableWindow(other, TRUE);
 
+    DestroyWindow(other);
     DestroyWindow(parent);
 }
 




More information about the wine-cvs mailing list