Skip to content

Commit 7e32b7b

Browse files
author
Al Viro
committed
fix leak in romfs_fill_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent ef52c75 commit 7e32b7b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎fs/romfs/super.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ static int romfs_fill_super(struct super_block *sb, void *data, int silent)
544544
error_rsb_inval:
545545
ret = -EINVAL;
546546
error_rsb:
547+
kfree(rsb);
547548
return ret;
548549
}
549550

0 commit comments

Comments
 (0)