btrfs-progs: let callers of btrfs_show_qgroups free the buffers
authorDavid Sterba <dsterba@suse.com>
Thu, 15 Feb 2018 17:13:35 +0000 (18:13 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 16 Feb 2018 15:59:42 +0000 (16:59 +0100)
commit7bb936f382d6948c8b7a4f9d8783644868351974
tree33a98258db2751fd1bcd4528a338c65d4175c4a9
parentb8e884f1cda145c73115e2ff9dde096d39e199ca
btrfs-progs: let callers of btrfs_show_qgroups free the buffers

btrfs_show_qgroups frees the filter and comparer in case it succeeds.
This makes the caller slightly more complicated so move the freeing up
one level.

Issue: #20
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-qgroup.c
qgroup.c