mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
freevxfs: fix memory leak in vxfs_read_fshead()
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>
This commit is contained in:
parent
1cce170179
commit
263040a1e7
@ -172,6 +172,8 @@ vxfs_read_fshead(struct super_block *sbp)
|
||||
goto out_iput_ilist;
|
||||
}
|
||||
|
||||
kfree(pfp);
|
||||
kfree(sfp);
|
||||
return 0;
|
||||
|
||||
out_iput_ilist:
|
||||
|
Loading…
Reference in New Issue
Block a user