btrfs-progs: don't leak inherit on errors
authorZach Brown <zab@redhat.com>
Wed, 23 Jan 2013 23:18:14 +0000 (15:18 -0800)
committerZach Brown <zab@redhat.com>
Wed, 6 Feb 2013 00:09:40 +0000 (16:09 -0800)
commitbf4196b408f963e335a3dccdcc8d6ab52985e996
tree73b2e0336d33d1f557300d8e49d984dde023f861
parentceb538f178b2407a25458b40c134aa5816e7b5c6
btrfs-progs: don't leak inherit on errors

A few paths returned errors before freeing their inherit allocation.

Signed-off-by: Zach Brown <zab@redhat.com>
cmds-subvolume.c