btrfs-progs: Add missing close_ctree to btrfs-select-super.c
authorZhao Lei <zhaolei@cn.fujitsu.com>
Mon, 26 Oct 2015 10:28:21 +0000 (18:28 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 08:35:08 +0000 (09:35 +0100)
commit2b4000c551921cd71bf95ea841c2a3617a5999b0
tree9373346d5e9c374648dca6b8e39bac1be163068d
parente72cb5de1211cedc0af2fd9ea4d7535d35c34f76
btrfs-progs: Add missing close_ctree to btrfs-select-super.c

Add missing close_ctree() to btrfs-select-super.c to avoid memory leak.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-select-super.c