mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
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,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)
|
||||
|
Loading…
Reference in New Issue
Block a user