david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Should call ftp_done() if constructor fails.

This commit is contained in:
Michael Brown 2007-05-29 15:37:30 +00:00
parent 735e07268e
commit 4ccd1e8198
1 changed files with 1 additions and 0 deletions

View File

@ -454,6 +454,7 @@ static int ftp_open ( struct xfer_interface *xfer, struct uri *uri ) {
err:
DBGC ( ftp, "FTP %p could not create request: %s\n",
ftp, strerror ( rc ) );
ftp_done ( ftp, rc );
ref_put ( &ftp->refcnt );
return rc;
}