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 1ca3e418f9df18d5284986213ec15f263d7dee7a..1e1105b4548993e3233281e499795a4639adfc42 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;