fix leak in romfs_fill_super()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2010-01-25 06:05:54 -05:00
parent ef52c75e4b
commit 7e32b7bb73

View file

@ -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;
}