From: Al Viro Date: Mon, 25 Jan 2010 11:05:54 +0000 (-0500) Subject: fix leak in romfs_fill_super() X-Git-Tag: v2.6.33-rc6~8^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8;p=thirdparty%2Fkernel%2Flinux.git fix leak in romfs_fill_super() Signed-off-by: Al Viro --- diff --git a/fs/romfs/super.c b/fs/romfs/super.c index c117fa80d1e9b..42d213546894a 100644 --- a/fs/romfs/super.c +++ b/fs/romfs/super.c @@ -544,6 +544,7 @@ error: error_rsb_inval: ret = -EINVAL; error_rsb: + kfree(rsb); return ret; }