Module: wine Branch: master Commit: 081538643019f711a110711354844bbc548aed3a URL: http://source.winehq.org/git/wine.git/?a=commit;h=081538643019f711a110711354...
Author: Akihiro Sagawa sagawa.aki@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