mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[http] Fix typo in memory allocation
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
1fe27a3e0e
commit
e01cf6fb3a
@@ -664,7 +664,7 @@ static void http_step ( struct http_request *http ) {
|
|||||||
|
|
||||||
/* Allocate dynamic storage */
|
/* Allocate dynamic storage */
|
||||||
dynamic = malloc ( sizeof ( *dynamic ) );
|
dynamic = malloc ( sizeof ( *dynamic ) );
|
||||||
if ( ! malloc ) {
|
if ( ! dynamic ) {
|
||||||
rc = -ENOMEM;
|
rc = -ENOMEM;
|
||||||
goto err_alloc;
|
goto err_alloc;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user