david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Must free http on the error path; nothing else will do it

This commit is contained in:
Michael Brown 2007-01-15 09:08:40 +00:00
parent c676591cd1
commit 1f92c6b3e8
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}