From 5660a9be744417acf4ba223517bdcf9d4c8b7e23 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 7 Jul 2017 17:15:12 +0200 Subject: [PATCH] urlmon: Remove a redundant NULL check before SysFreeString(). Signed-off-by: Michael Stefaniuc Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- 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 1493023b628..47c972b1e3e 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);