projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
402a0f4
)
Btrfs: free tmp ulist for qgroup rescan
author
Josef Bacik
<jbacik@fb.com>
Tue, 20 May 2014 13:23:31 +0000
(09:23 -0400)
committer
Chris Mason
<clm@fb.com>
Tue, 10 Jun 2014 00:20:55 +0000
(17:20 -0700)
Memory leaks are bad mmkay?
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/qgroup.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/qgroup.c
b/fs/btrfs/qgroup.c
index 73f706c9a342d2df19b871051ce596b059ae70d1..cf5aead95a7f6d2eac95c3cd47fc7d56cab92e4b 100644
(file)
--- 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);