This patch from Magnus Damm fixed a long standing problem

with freeing memory.
This commit is contained in:
Eric Andersen 2002-10-25 12:14:02 +00:00
parent 09da627a23
commit 5ad22c933c

View 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;