Btrfs: fix memory leak in btrfs_quota_enable()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Tue, 16 Oct 2012 05:44:21 +0000 (05:44 +0000)
committerChris Mason <chris.mason@fusionio.com>
Thu, 25 Oct 2012 19:45:43 +0000 (15:45 -0400)
commit5b7ff5b3c4468780b15c6b20cd0567cd9f2aa626
tree2c2be551f07d275a1a41fb881fe6acbd65fdaa30
parentd79e50433b2bea09eb680ed5fae15e8a12356353
Btrfs: fix memory leak in btrfs_quota_enable()

We should free quota_root before returning from the error
handling code.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
fs/btrfs/qgroup.c