You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
387 B
15 lines
387 B
@@ -, +, @@ |
|
--- |
|
ftpfs.c | 2 2 + 0 - 0 ! |
|
1 file changed, 2 insertions(+) |
|
--- b/ftpfs.c |
|
+++ b/ftpfs.c |
|
@@ -615,6 +615,8 @@ static void free_ftpfs_file(struct ftpfs |
|
sem_destroy(&fh->data_need); |
|
sem_destroy(&fh->data_written); |
|
sem_destroy(&fh->ready); |
|
+ if (fh->buf.size) { buf_free(&fh->buf); } |
|
+ if (fh->stream_buf.size) { buf_free(&fh->stream_buf); } |
|
free(fh); |
|
} |
|
|
|
|