urlmon: Remove a redundant NULL check before CoTaskMemFree()
Michael Stefaniuc
mstefani at redhat.de
Fri Jul 8 03:17:24 CDT 2016
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
dlls/urlmon/bindctx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/urlmon/bindctx.c b/dlls/urlmon/bindctx.c
index d8bba1b..2759f3d 100644
--- a/dlls/urlmon/bindctx.c
+++ b/dlls/urlmon/bindctx.c
@@ -429,7 +429,7 @@ static HRESULT WINAPI BSCHttpNegotiate_OnResponse(IHttpNegotiate2 *iface, DWORD
if(pszAdditionalRequestHeaders)
*pszAdditionalRequestHeaders = additional_headers;
- else if(additional_headers)
+ else
CoTaskMemFree(additional_headers);
return hres;
--
2.5.5
More information about the wine-patches
mailing list