urlmon: Remove a redundant NULL check before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dbafbcccfc
commit
7218d48864
|
@ -429,7 +429,7 @@ static HRESULT WINAPI BSCHttpNegotiate_OnResponse(IHttpNegotiate2 *iface, DWORD
|
||||||
|
|
||||||
if(pszAdditionalRequestHeaders)
|
if(pszAdditionalRequestHeaders)
|
||||||
*pszAdditionalRequestHeaders = additional_headers;
|
*pszAdditionalRequestHeaders = additional_headers;
|
||||||
else if(additional_headers)
|
else
|
||||||
CoTaskMemFree(additional_headers);
|
CoTaskMemFree(additional_headers);
|
||||||
|
|
||||||
return hres;
|
return hres;
|
||||||
|
|
Loading…
Reference in New Issue