mshtml: Remove superfluous NULL pointer check before free (Smatch).

This commit is contained in:
Michael Stefaniuc 2012-01-16 00:16:26 +01:00 committed by Alexandre Julliard
parent 5959e1d48c
commit 51f77f4983
1 changed files with 2 additions and 4 deletions

View File

@ -77,10 +77,8 @@ void set_current_uri(HTMLWindow *window, IUri *uri)
window->uri = NULL;
}
if(window->url) {
SysFreeString(window->url);
window->url = NULL;
}
SysFreeString(window->url);
window->url = NULL;
if(!uri)
return;