Module: wine Branch: master Commit: 9c9174efac6981b1c0d8b7c620f912799f70c54f URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c9174efac6981b1c0d8b7c620...
Author: Vitaliy Margolen wine-patches@kievinfo.com Date: Wed Jul 18 06:06:40 2007 -0600
user32/test: Destroy no longer needed test dialog windows.
---
dlls/user32/tests/msg.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 6f9387f..d04028c 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -9178,6 +9178,9 @@ static void test_dialog_messages(void) check_selection(hedit2, 0, 3);
EndDialog(hdlg, 0); + DestroyWindow(hedit1); + DestroyWindow(hedit2); + DestroyWindow(hdlg); flush_sequence();
#undef set_selection @@ -9194,12 +9197,14 @@ static void test_dialog_messages(void) ok(IsWindow(hdlg), "CreateDialogParam failed\n"); ok_sequence(WmCreateDialogParamSeq_1, "CreateDialogParam_1", FALSE); EndDialog(hdlg, 0); + DestroyWindow(hdlg); flush_sequence();
hdlg = CreateDialogParam(0, "CLASS_TEST_DIALOG_2", 0, NULL, 0); ok(IsWindow(hdlg), "CreateDialogParam failed\n"); ok_sequence(WmCreateDialogParamSeq_2, "CreateDialogParam_2", FALSE); EndDialog(hdlg, 0); + DestroyWindow(hdlg); flush_sequence();
UnregisterClass(cls.lpszClassName, cls.hInstance);