projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ip link: add VLAN support
[oweals/busybox.git]
/
networking
/
ftpd.c
diff --git
a/networking/ftpd.c
b/networking/ftpd.c
index 4ba96cfc2c718ef1ca2d73a99bbe6cf750394fc4..33db964fa46c465b72bda6fa75c65adee1873ee0 100644
(file)
--- a/
networking/ftpd.c
+++ b/
networking/ftpd.c
@@
-927,6
+927,7
@@
handle_upload_common(int is_append, int is_unique)
|| fstat(local_file_fd, &statbuf) != 0
|| !S_ISREG(statbuf.st_mode)
) {
+ free(tempname);
WRITE_ERR(FTP_UPLOADFAIL);
if (local_file_fd >= 0)
goto close_local_and_bail;