From: Al Viro Date: Mon, 25 Jan 2010 11:05:54 +0000 (-0500) Subject: fix leak in romfs_fill_super() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 c117fa80d1e9..42d213546894 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; }