Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a108409 authored by Josef Bacik's avatar Josef Bacik Committed by Chris Mason
Browse files

Btrfs: free tmp ulist for qgroup rescan



Memory leaks are bad mmkay?

Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 402a0f47
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);