Commit c8aba692 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ws2_32/tests: Remove redundant NULL check before HeapFree.

parent ee14852e
......@@ -2187,7 +2187,6 @@ static void test_write_events(void)
}
end:
if (buffer != NULL)
HeapFree(GetProcessHeap(), 0, buffer);
if (src != INVALID_SOCKET)
closesocket(src);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment