From: Josef Bacik Date: Tue, 20 May 2014 13:23:31 +0000 (-0400) Subject: Btrfs: free tmp ulist for qgroup rescan X-Git-Tag: firefly_0821_release~176^2~3585^2~75 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2a10840945a86dfa2356bce526ae78cd4c1a356e;p=firefly-linux-kernel-4.4.55.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);