diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-03-18 11:07:03 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-03-18 19:44:32 +0100 |
commit | 87c09f70b5e334f68cc19c0514d412f666b4eb14 (patch) | |
tree | e2ffc811284807caf2a18ae20018db716e8b7196 /root-tree.c | |
parent | e9393c220f45f8501d7c0c94e83f99fc91273272 (diff) |
Btrfs-progs: fix memory leaks on cleanup
I've been working on btrfs-image and I kept seeing these leaks pop up on
valgrind so I'm just fixing them. We don't properly cleanup the device cache,
the chunk tree mapping cache, or the space infos on close. With this patch
valgrind doesn't complain about any memory leaks running btrfs-image. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'root-tree.c')
0 files changed, 0 insertions, 0 deletions