commit | 036db280d2efb9c36b8ac4cf0dadabe349385bda | [log] [tgz] |
---|---|---|
author | Michael Stefaniuc <mstefani@redhat.de> | Tue Oct 11 00:03:42 2011 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Oct 11 13:37:50 2011 +0200 |
tree | c57eb6e06a44f137695b73287024a74709dda65b | |
parent | 78ebd8f7cf5fc3bbf00cf0770ef85b81fb4d9bca [diff] |
urlmon: Remove a redundant NULL check before free (Smatch).
diff --git a/dlls/urlmon/http.c b/dlls/urlmon/http.c index 5a606ca..a081ad0 100644 --- a/dlls/urlmon/http.c +++ b/dlls/urlmon/http.c
@@ -528,10 +528,8 @@ This->http_negotiate = NULL; } - if(This->full_header) { - heap_free(This->full_header); - This->full_header = NULL; - } + heap_free(This->full_header); + This->full_header = NULL; } static void HttpProtocol_on_error(Protocol *prot, DWORD error)