Skip to content

Commit

Permalink
Btrfs: free tmp ulist for qgroup rescan
Browse files Browse the repository at this point in the history
Memory leaks are bad mmkay?

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
  • Loading branch information
Josef Bacik authored and Chris Mason committed Jun 10, 2014
1 parent 402a0f4 commit 2a10840
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/btrfs/qgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2a10840

Please sign in to comment.