diff options
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
475 | #ifdef CONFIG_FEATURE_CLEAN_UP | 475 | #ifdef CONFIG_FEATURE_CLEAN_UP |
476 | close(socketfd); | 476 | close(socketfd); |
477 | 477 | ||
478 | RELEASE_CONFIG_BUFFER(buf); | 478 | free(buf); |
479 | #endif | 479 | #endif |
480 | 480 | ||
481 | return finished ? EXIT_SUCCESS : EXIT_FAILURE; | 481 | return finished ? EXIT_SUCCESS : EXIT_FAILURE; |