diff -uprN a/bindings.c b/bindings.c --- a/bindings.c 2018-08-17 04:12:24.000000000 +0800 +++ b/bindings.c 2018-11-21 11:45:56.120000000 +0800 @@ -1848,6 +1848,7 @@ free(f->buf); f->buf = NULL; free(f); + f = NULL; } int cg_releasedir(const char *path, struct fuse_file_info *fi)