]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0f8db16aa1f60547d3a66bb5a51f5a3d130f41a
tree2c2be551f07d275a1a41fb881fe6acbd65fdaa30
parentd4ed77576081f1027a640183f46ddd6bf63120ad
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