urlmon: Remove a redundant NULL check before free (Smatch).
This commit is contained in:
parent
78ebd8f7cf
commit
036db280d2
|
@ -528,10 +528,8 @@ static void HttpProtocol_close_connection(Protocol *prot)
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue