diff options
author | Josef Bacik <jbacik@fb.com> | 2014-05-20 09:23:31 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-09 17:20:55 -0700 |
commit | 2a10840945a86dfa2356bce526ae78cd4c1a356e (patch) | |
tree | b37abfeb1f53ccccb2ea012cb2810f9e0052f8ef /fs/btrfs | |
parent | 402a0f475938f26b0c7b3175c8163b91a12a8a9a (diff) |
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>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/qgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 73f706c9a34..cf5aead95a7 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); |