aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-25 12:14:02 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-25 12:14:02 +0000
commit5ad22c933ca587510a1980f5277812061cbab03c (patch)
treebce3806d4bea1d7b1444359669dd13b7aa44a167 /networking
parent09da627a23259d6fcb47ee9b2bd4fde395779ab0 (diff)
downloadbusybox-5ad22c933ca587510a1980f5277812061cbab03c.tar.gz
This patch from Magnus Damm fixed a long standing problem
with freeing memory.
Diffstat (limited to 'networking')
-rw-r--r--networking/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index 1ca3e418f..1e1105b45 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -475,7 +475,7 @@ static inline int tftp(const int cmd, const struct hostent *host,
#ifdef CONFIG_FEATURE_CLEAN_UP
close(socketfd);
- RELEASE_CONFIG_BUFFER(buf);
+ free(buf);
#endif
return finished ? EXIT_SUCCESS : EXIT_FAILURE;