urlmon: Remove a redundant NULL check before SysFreeString()
Michael Stefaniuc
mstefani at winehq.org
Fri Jul 7 10:15:12 CDT 2017
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/urlmon/bindprot.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/urlmon/bindprot.c b/dlls/urlmon/bindprot.c
index 1493023..47c972b 100644
--- a/dlls/urlmon/bindprot.c
+++ b/dlls/urlmon/bindprot.c
@@ -510,8 +510,7 @@ static HRESULT WINAPI BindProtocol_StartEx(IInternetProtocolEx *iface, IUri *pUr
This->pi = grfPI;
if(This->uri) {
- if(This->display_uri)
- SysFreeString(This->display_uri);
+ SysFreeString(This->display_uri);
IUri_Release(This->uri);
}
IUri_AddRef(pUri);
--
2.9.4
More information about the wine-patches
mailing list