From: Manish Katiyar Date: Mon, 18 May 2009 03:52:44 +0000 (-0400) Subject: ext4: Fix memory leak in ext4_fill_super() in case of a failed mount X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f68301656b5f5d2de104f2687add6beeb8f3c3b9;p=linux-beck.git ext4: Fix memory leak in ext4_fill_super() in case of a failed mount Signed-off-by: Manish Katiyar Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 600b7ad699b5..eca6c057b119 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2924,6 +2924,7 @@ failed_mount: brelse(bh); out_fail: sb->s_fs_info = NULL; + kfree(sbi->s_blockgroup_lock); kfree(sbi); lock_kernel(); return ret;