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 c117fa80d1e9b9ddc9be29a7d412022b9d158010..42d213546894a3b412bea8634f7c9535f25cdb19 100644 (file)
@@ -544,6 +544,7 @@ error:
 error_rsb_inval:
        ret = -EINVAL;
 error_rsb:
+       kfree(rsb);
        return ret;
 }