Andrew Nguyen : ws2_32/tests: Properly destroy the async test window.
Module: wine Branch: master Commit: 2c74796456a74d00ddb1ce172fa8904620fea9c6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c74796456a74d00ddb1ce172f... Author: Andrew Nguyen <anguyen(a)codeweavers.com> Date: Wed Jun 1 07:14:13 2011 -0500 ws2_32/tests: Properly destroy the async test window. --- dlls/ws2_32/tests/sock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 07803ff..5db9013 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -3796,7 +3796,7 @@ end: if (hThread != NULL) CloseHandle(hThread); if (hWnd != NULL) - CloseHandle(hWnd); + DestroyWindow(hWnd); if (hEvent != NULL) CloseHandle(hEvent); if (hEvent2 != NULL)
participants (1)
-
Alexandre Julliard