From fc7ee0a07ee108b5a11fd762bfe1665ee0b3d216 Mon Sep 17 00:00:00 2001 From: andersen Date: Fri, 25 Oct 2002 12:14:02 +0000 Subject: This patch from Magnus Damm fixed a long standing problem with freeing memory. git-svn-id: svn://busybox.net/trunk/busybox@5705 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- 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-55-g6feb