http://git.etherboot.org
/
people
/
dverkamp
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
735e072
)
Should call ftp_done() if constructor fails.
author
Michael Brown
<mcb30@etherboot.org>
Tue, 29 May 2007 15:37:30 +0000
(15:37 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 29 May 2007 15:37:30 +0000
(15:37 +0000)
src/net/tcp/ftp.c
patch
|
blob
|
history
diff --git
a/src/net/tcp/ftp.c
b/src/net/tcp/ftp.c
index
47b6ae3
..
f90e793
100644
(file)
--- 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 ) );
err:
DBGC ( ftp, "FTP %p could not create request: %s\n",
ftp, strerror ( rc ) );
+ ftp_done ( ftp, rc );
ref_put ( &ftp->refcnt );
return rc;
}
ref_put ( &ftp->refcnt );
return rc;
}