Module: wine Branch: master Commit: 7218d488647388816e599420a596c416be72d80a URL: http://source.winehq.org/git/wine.git/?a=commit;h=7218d488647388816e599420a5...
Author: Michael Stefaniuc mstefani@redhat.de Date: Fri Jul 8 10:17:24 2016 +0200
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
---
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;