fix leak in romfs_fill_super()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jan 2010 11:05:54 +0000 (06:05 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 27 Jan 2010 03:22:26 +0000 (22:22 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/romfs/super.c

index c117fa8..42d2135 100644 (file)
@@ -544,6 +544,7 @@ error:
 error_rsb_inval:
        ret = -EINVAL;
 error_rsb:
+       kfree(rsb);
        return ret;
 }