urlmon: Remove a redundant NULL check before free (Smatch).

This commit is contained in:
Michael Stefaniuc 2011-10-11 00:03:42 +02:00 committed by Alexandre Julliard
parent 78ebd8f7cf
commit 036db280d2
1 changed files with 2 additions and 4 deletions

View File

@ -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)