diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-05-29 15:37:30 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-05-29 15:37:30 +0000 |
commit | 4ccd1e8198ad2db3088405073d0a4279e3780eb8 (patch) | |
tree | 2d21102285b22499402bf6ed0eec73030cbe7e5c /src | |
parent | 735e07268ed547061a482b19e9f901bbd3656425 (diff) | |
download | ipxe-4ccd1e8198ad2db3088405073d0a4279e3780eb8.tar.gz |
Should call ftp_done() if constructor fails.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/tcp/ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tcp/ftp.c b/src/net/tcp/ftp.c index 47b6ae3c9..f90e7931c 100644 --- a/src/net/tcp/ftp.c +++ b/src/net/tcp/ftp.c @@ -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; } |