mirror of https://github.com/ipxe/ipxe.git
[downloader] Abort download immediately if buffer resizing fails
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/6/head
parent
2834f9f6de
commit
9445cb9f8b
|
@ -183,6 +183,8 @@ static int downloader_xfer_deliver ( struct downloader *downloader,
|
||||||
|
|
||||||
done:
|
done:
|
||||||
free_iob ( iobuf );
|
free_iob ( iobuf );
|
||||||
|
if ( rc != 0 )
|
||||||
|
downloader_finished ( downloader, rc );
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue