mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:20:53 +07:00
fix leak in romfs_fill_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ef52c75e4b
commit
7e32b7bb73
@ -544,6 +544,7 @@ static int romfs_fill_super(struct super_block *sb, void *data, int silent)
|
||||
error_rsb_inval:
|
||||
ret = -EINVAL;
|
||||
error_rsb:
|
||||
kfree(rsb);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user