This patch from Magnus Damm fixed a long standing problem
authorEric Andersen <andersen@codepoet.org>
Fri, 25 Oct 2002 12:14:02 +0000 (12:14 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 25 Oct 2002 12:14:02 +0000 (12:14 -0000)
with freeing memory.

networking/tftp.c

index 1ca3e41..1e1105b 100644 (file)
@@ -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;