diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-10-25 16:14:02 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-10-25 16:14:02 +0400 |
commit | 5ad22c933ca587510a1980f5277812061cbab03c (patch) | |
tree | bce3806d4bea1d7b1444359669dd13b7aa44a167 /networking/tftp.c | |
parent | 09da627a23259d6fcb47ee9b2bd4fde395779ab0 (diff) |
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 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; |