From: Eric Andersen Date: Fri, 25 Oct 2002 12:14:02 +0000 (-0000) Subject: This patch from Magnus Damm fixed a long standing problem X-Git-Tag: 0_60_5~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ad22c933ca587510a1980f5277812061cbab03c;p=oweals%2Fbusybox.git This patch from Magnus Damm fixed a long standing problem with freeing memory. --- 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;