btrfs-progs: tests: fssum, fix memory leak
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Wed, 26 Apr 2017 01:22:41 +0000 (09:22 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 May 2017 14:17:52 +0000 (16:17 +0200)
commitfd4526fe686421b8844089ed058167d0724a36c0
treedee0b0aa38df43487962d00b1f7988985a8baa0d
parent795e9c0981c427928edb9cc1966903f699ce1b11
btrfs-progs: tests: fssum, fix memory leak

Free the alloced memory and close dir before exit.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/fssum.c