提交 7e32b7bb 编写于 作者: A Al Viro

fix leak in romfs_fill_super()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 ef52c75e
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册