From: Manish Katiyar Date: Mon, 18 May 2009 03:52:47 +0000 (-0400) Subject: ext3: Fix memory leak in ext3_fill_super() in case of a failed mount X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=de5ce037304f2c88a319b1c3b808ab0c4c618c1c;p=mv-sheeva.git ext3: Fix memory leak in ext3_fill_super() in case of a failed mount Signed-off-by: Manish Katiyar Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 599dbfe504c..d8b73d4abe3 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c @@ -2021,6 +2021,7 @@ failed_mount: brelse(bh); out_fail: sb->s_fs_info = NULL; + kfree(sbi->s_blockgroup_lock); kfree(sbi); lock_kernel(); return ret;