Commit 0f7ee7c1 authored by Manish Katiyar's avatar Manish Katiyar Committed by Theodore Ts'o
Browse files

ext2: Fix memory leak in ext2_fill_super() in case of a failed mount

parent de5ce037
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1093,6 +1093,7 @@ failed_mount:
	brelse(bh);
failed_sbi:
	sb->s_fs_info = NULL;
	kfree(sbi->s_blockgroup_lock);
	kfree(sbi);
	return ret;
}