ws2_32/tests: Properly destroy the async test window.

This commit is contained in:
Andrew Nguyen 2011-06-01 07:14:13 -05:00 committed by Alexandre Julliard
parent a5e0f09b52
commit 2c74796456
1 changed files with 1 additions and 1 deletions

View File

@ -3796,7 +3796,7 @@ end:
if (hThread != NULL) if (hThread != NULL)
CloseHandle(hThread); CloseHandle(hThread);
if (hWnd != NULL) if (hWnd != NULL)
CloseHandle(hWnd); DestroyWindow(hWnd);
if (hEvent != NULL) if (hEvent != NULL)
CloseHandle(hEvent); CloseHandle(hEvent);
if (hEvent2 != NULL) if (hEvent2 != NULL)