Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[downloader] Abort download immediately if buffer resizing fails
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Mar 26, 2012
1 parent 2834f9f commit 9445cb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/downloader.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9445cb9

Please sign in to comment.