Commit 263040a1 authored by Krzysztof Błaszkowski's avatar Krzysztof Błaszkowski Committed by Christoph Hellwig
Browse files

freevxfs: fix memory leak in vxfs_read_fshead()



Every successful mount two structs vxfs_fsh were not released.
Signed-off-by: default avatarKrzysztof Błaszkowski <kb@sysmikro.com.pl>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 1cce1701
...@@ -172,6 +172,8 @@ vxfs_read_fshead(struct super_block *sbp) ...@@ -172,6 +172,8 @@ vxfs_read_fshead(struct super_block *sbp)
goto out_iput_ilist; goto out_iput_ilist;
} }
kfree(pfp);
kfree(sfp);
return 0; return 0;
out_iput_ilist: out_iput_ilist:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment