Commit 57d20023 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 0edfb58d
...@@ -1725,8 +1725,7 @@ end: ...@@ -1725,8 +1725,7 @@ end:
closesocket(dst); closesocket(dst);
if (hThread != NULL) if (hThread != NULL)
CloseHandle(hThread); CloseHandle(hThread);
if (buffer != NULL) HeapFree(GetProcessHeap(), 0, buffer);
HeapFree(GetProcessHeap(), 0, buffer);
} }
static void test_write_events(void) static void test_write_events(void)
......
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