3 @@ -614,6 +614,8 @@ static void free_ftpfs_file(struct ftpfs
4 sem_destroy(&fh->data_need);
5 sem_destroy(&fh->data_written);
6 sem_destroy(&fh->ready);
7 + if (fh->buf.size) { buf_free(&fh->buf); }
8 + if (fh->stream_buf.size) { buf_free(&fh->stream_buf); }