diff options
| author | Michael Brown | 2007-05-29 17:37:30 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-05-29 17:37:30 +0200 |
| commit | 4ccd1e8198ad2db3088405073d0a4279e3780eb8 (patch) | |
| tree | 2d21102285b22499402bf6ed0eec73030cbe7e5c /src/net | |
| parent | Update HTTP to use data-xfer interface. (diff) | |
| download | ipxe-4ccd1e8198ad2db3088405073d0a4279e3780eb8.tar.gz ipxe-4ccd1e8198ad2db3088405073d0a4279e3780eb8.tar.xz ipxe-4ccd1e8198ad2db3088405073d0a4279e3780eb8.zip | |
Should call ftp_done() if constructor fails.
Diffstat (limited to 'src/net')
| -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; } |
