ws2_32/tests: Remove redundant NULL check before HeapFree().

This commit is contained in:
Michael Stefaniuc 2007-04-11 00:15:22 +02:00 committed by Alexandre Julliard
parent 0edfb58d2a
commit 57d2002351
1 changed files with 1 additions and 2 deletions

View File

@ -1725,8 +1725,7 @@ end:
closesocket(dst);
if (hThread != NULL)
CloseHandle(hThread);
if (buffer != NULL)
HeapFree(GetProcessHeap(), 0, buffer);
HeapFree(GetProcessHeap(), 0, buffer);
}
static void test_write_events(void)