mirror of https://github.com/ipxe/ipxe.git
Must free http on the error path; nothing else will do it
parent
c676591cd1
commit
1f92c6b3e8
|
@ -424,5 +424,6 @@ int http_get ( struct uri *uri, struct buffer *buffer, struct async *parent ) {
|
|||
err:
|
||||
DBGC ( http, "HTTP %p could not create request: %s\n",
|
||||
http, strerror ( rc ) );
|
||||
free ( http );
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue