biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / filesystems / curlftpfs / suse-bug-955687.patch
blobb198c586e0cb1234f17bfae53ccfe9b3c1ab75c9
1 --- a/ftpfs.c
2 +++ b/ftpfs.c
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); }
9 free(fh);