summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-05-20 09:23:31 -0400
committerChris Mason <clm@fb.com>2014-06-09 17:20:55 -0700
commit2a10840945a86dfa2356bce526ae78cd4c1a356e (patch)
treeb37abfeb1f53ccccb2ea012cb2810f9e0052f8ef
parent402a0f475938f26b0c7b3175c8163b91a12a8a9a (diff)
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>
-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);