From 5ad22c933ca587510a1980f5277812061cbab03c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 25 Oct 2002 12:14:02 +0000 Subject: This patch from Magnus Damm fixed a long standing problem with freeing memory. --- networking/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3