Commit 69039f06 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winetest: Remove redundant NULL checks before heap_free().

parent 0b96693f
......@@ -395,10 +395,8 @@ send_file_wininet (const char *name)
}
done:
if (buffers_in.lpcszHeader != NULL)
heap_free((void *) buffers_in.lpcszHeader);
if (str != NULL)
heap_free (str);
heap_free((void *)buffers_in.lpcszHeader);
heap_free(str);
if (pInternetCloseHandle != NULL && request != NULL)
pInternetCloseHandle (request);
if (pInternetCloseHandle != NULL && connection != NULL)
......
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