summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-05-20 15:23:31 +0200
committerChris Mason <clm@fb.com>2014-06-10 02:20:55 +0200
commit2a10840945a86dfa2356bce526ae78cd4c1a356e (patch)
treeb37abfeb1f53ccccb2ea012cb2810f9e0052f8ef /fs/btrfs/qgroup.c
parentbtrfs: usage error should not be logged into system log (diff)
downloadlinux-2a10840945a86dfa2356bce526ae78cd4c1a356e.tar.xz
linux-2a10840945a86dfa2356bce526ae78cd4c1a356e.zip
Btrfs: free tmp ulist for qgroup rescan
Memory leaks are bad mmkay? Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r--fs/btrfs/qgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index 73f706c9a342..cf5aead95a7f 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -2478,6 +2478,7 @@ static void btrfs_qgroup_rescan_worker(struct btrfs_work *work)
out:
kfree(scratch_leaf);
ulist_free(qgroups);
+ ulist_free(tmp);
btrfs_free_path(path);
mutex_lock(&fs_info->qgroup_rescan_lock);