btrfs-progs: free strdup()s that are not freed
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 5 Sep 2013 08:00:43 +0000 (16:00 +0800)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:20:42 +0000 (08:20 -0400)
commit1c87a95bfc5014f3c47c7f64f636375774be079b
tree0eced3fc48c022bf9851b1644b28339f6a3fa0dc
parentaea22fa1b55e3e8830c8d46f2d7e4731f1b58fcf
btrfs-progs: free strdup()s that are not freed

The strdup()s not freed are reported as memory leaks by valgrind.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-subvolume.c