From: Josef Bacik Date: Tue, 20 May 2014 13:23:31 +0000 (-0400) Subject: Btrfs: free tmp ulist for qgroup rescan X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a10840945a86dfa2356bce526ae78cd4c1a356e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Btrfs: free tmp ulist for qgroup rescan Memory leaks are bad mmkay? Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- 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);