winetest: Remove redundant NULL checks before heap_free().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0b96693f75
commit
69039f064a
|
@ -395,9 +395,7 @@ send_file_wininet (const char *name)
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
if (buffers_in.lpcszHeader != NULL)
|
|
||||||
heap_free((void *)buffers_in.lpcszHeader);
|
heap_free((void *)buffers_in.lpcszHeader);
|
||||||
if (str != NULL)
|
|
||||||
heap_free(str);
|
heap_free(str);
|
||||||
if (pInternetCloseHandle != NULL && request != NULL)
|
if (pInternetCloseHandle != NULL && request != NULL)
|
||||||
pInternetCloseHandle (request);
|
pInternetCloseHandle (request);
|
||||||
|
|
Loading…
Reference in New Issue