david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[http] Fix typo in memory allocation

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Kevin Tran 2012-04-27 21:07:12 +01:00 committed by Michael Brown
parent 1fe27a3e0e
commit e01cf6fb3a
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ static void http_step ( struct http_request *http ) {
/* Allocate dynamic storage */
dynamic = malloc ( sizeof ( *dynamic ) );
if ( ! malloc ) {
if ( ! dynamic ) {
rc = -ENOMEM;
goto err_alloc;
}