Akihiro Sagawa : user32/tests: Don' t forget to destroy the parent window after the tests.
Alexandre Julliard
julliard at winehq.org
Tue Apr 8 14:02:49 CDT 2014
Module: wine
Branch: master
Commit: 081538643019f711a110711354844bbc548aed3a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=081538643019f711a110711354844bbc548aed3a
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Tue Apr 8 01:43:45 2014 +0900
user32/tests: Don't forget to destroy the parent window after the tests.
---
dlls/user32/tests/edit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c
index d5fd3b2..c41bbb0 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -1299,6 +1299,7 @@ static void test_edit_control_5(void)
len = SendMessageA(hWnd, WM_GETTEXTLENGTH, 0, 0);
ok(lstrlenA(str) == len, "text shouldn't have been truncated\n");
DestroyWindow(hWnd);
+ DestroyWindow(parentWnd);
}
/* Test WM_GETTEXT processing
More information about the wine-cvs
mailing list