Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -172,6 +172,8 @@ vxfs_read_fshead(struct super_block *sbp)
		goto out_iput_ilist;
	}

	kfree(pfp);
	kfree(sfp);
	return 0;

 out_iput_ilist: