* Liu Bo ([email protected]) wrote: > lo.inodes hashmap was not unref/destroy 'd on quiting, which was caught by > valgrind. > > Signed-off-by: Liu Bo <[email protected]> > --- > contrib/virtiofsd/passthrough_ll.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/contrib/virtiofsd/passthrough_ll.c > b/contrib/virtiofsd/passthrough_ll.c > index f348b16..e7e19dc 100644 > --- a/contrib/virtiofsd/passthrough_ll.c > +++ b/contrib/virtiofsd/passthrough_ll.c > @@ -2324,6 +2324,8 @@ err_out2: > err_out1: > fuse_opt_free_args(&args); > > + if (lo.inodes) > + g_hash_table_destroy(lo.inodes); > lo_map_destroy(&lo.fd_map); > lo_map_destroy(&lo.dirp_map); > lo_map_destroy(&lo.ino_map);
Reviewed-by: Dr. David Alan Gilbert <[email protected]> > -- > 1.8.3.1 > > _______________________________________________ > Virtio-fs mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/virtio-fs -- Dr. David Alan Gilbert / [email protected] / Manchester, UK
