nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 11 lines 306 B view raw
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); 10 } 11