commit | 263040a1e7cefa9fb916d6328fc045fdb30ed268 | [log] [tgz] |
---|---|---|
author | Krzysztof Błaszkowski <kb@sysmikro.com.pl> | Sun Jun 12 19:25:23 2016 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Sun Jun 12 19:27:31 2016 +0200 |
tree | b34b3b4d3933596d049dcef9be2affabce34b809 | |
parent | 1cce17017970c0797943e069cc520e17d068ca4b [diff] [blame] |
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>
diff --git a/fs/freevxfs/vxfs_fshead.c b/fs/freevxfs/vxfs_fshead.c index 69a10d6..a4610a7 100644 --- a/fs/freevxfs/vxfs_fshead.c +++ b/fs/freevxfs/vxfs_fshead.c
@@ -172,6 +172,8 @@ goto out_iput_ilist; } + kfree(pfp); + kfree(sfp); return 0; out_iput_ilist: