ws2_32/tests: Remove redundant NULL check before HeapFree.

This commit is contained in:
Paul Vriens 2008-09-09 11:45:40 +02:00 committed by Alexandre Julliard
parent ee14852ea9
commit c8aba692af
1 changed files with 1 additions and 2 deletions

View File

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