mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-15 10:08:18 +00:00
[downloader] Abort download immediately if buffer resizing fails
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
2834f9f6de
commit
9445cb9f8b
@ -183,6 +183,8 @@ static int downloader_xfer_deliver ( struct downloader *downloader,
|
||||
|
||||
done:
|
||||
free_iob ( iobuf );
|
||||
if ( rc != 0 )
|
||||
downloader_finished ( downloader, rc );
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user