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:
1cce170
)
freevxfs: fix memory leak in vxfs_read_fshead()
author
Krzysztof Błaszkowski
<kb@sysmikro.com.pl>
Sun, 12 Jun 2016 17:25:23 +0000
(19:25 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Sun, 12 Jun 2016 17:27:31 +0000
(19:27 +0200)
Every successful mount two structs vxfs_fsh were not released.
Signed-off-by: Krzysztof Błaszkowski <kb@sysmikro.com.pl>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/freevxfs/vxfs_fshead.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/freevxfs/vxfs_fshead.c
b/fs/freevxfs/vxfs_fshead.c
index 69a10d62b375d8f5af0050044d24bb6d86dbe6be..a4610a77649e59120ad3011207e4b448dbd4849a 100644
(file)
--- a/
fs/freevxfs/vxfs_fshead.c
+++ b/
fs/freevxfs/vxfs_fshead.c
@@
-172,6
+172,8
@@
vxfs_read_fshead(struct super_block *sbp)
goto out_iput_ilist;
}
+ kfree(pfp);
+ kfree(sfp);
return 0;
out_iput_ilist: