From: Al Viro Date: Mon, 25 Jan 2010 11:05:54 +0000 (-0500) Subject: fix leak in romfs_fill_super() X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8;p=linux-edison.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 c117fa80d1e..42d21354689 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; }