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

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2017-11-13 18:11:56 +08:00 committed by Alexandre Julliard
parent 0e18800f39
commit 5aafd080d1

View file

@ -4932,6 +4932,7 @@ static void test_dialog_parent(void)
ok(!IsWindowEnabled(other), "other is enabled\n");
EnableWindow(other, TRUE);
DestroyWindow(other);
DestroyWindow(parent);
}