mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
This patch from Magnus Damm fixed a long standing problem
with freeing memory.
This commit is contained in:
parent
09da627a23
commit
5ad22c933c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user