Commit 7e32b7bb authored by Al Viro's avatar Al Viro

fix leak in romfs_fill_super()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ef52c75e
...@@ -544,6 +544,7 @@ static int romfs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -544,6 +544,7 @@ static int romfs_fill_super(struct super_block *sb, void *data, int silent)
error_rsb_inval: error_rsb_inval:
ret = -EINVAL; ret = -EINVAL;
error_rsb: error_rsb:
kfree(rsb);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment