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>
This commit is contained in:
parent
402a0f4759
commit
2a10840945
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue