Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ext4: Fix memory leak in ext4_fill_super() in case of a failed mount

parent 0568c518
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2924,6 +2924,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
	brelse(bh);
out_fail:
	sb->s_fs_info = NULL;
	kfree(sbi->s_blockgroup_lock);
	kfree(sbi);
	lock_kernel();
	return ret;