ws2_32/tests: Remove redundant NULL check before HeapFree.
This commit is contained in:
parent
ee14852ea9
commit
c8aba692af
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue