diff options
author | Eric Andersen | 2002-10-25 12:14:02 +0000 |
---|---|---|
committer | Eric Andersen | 2002-10-25 12:14:02 +0000 |
commit | 5ad22c933ca587510a1980f5277812061cbab03c (patch) | |
tree | bce3806d4bea1d7b1444359669dd13b7aa44a167 /networking/tftp.c | |
parent | 09da627a23259d6fcb47ee9b2bd4fde395779ab0 (diff) | |
download | busybox-5ad22c933ca587510a1980f5277812061cbab03c.zip busybox-5ad22c933ca587510a1980f5277812061cbab03c.tar.gz |
This patch from Magnus Damm fixed a long standing problem
with freeing memory.
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 1ca3e41..1e1105b 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; |