dect
/
linux-2.6
Archived
13
0
Fork 0

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

Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
Manish Katiyar 2009-05-17 23:52:51 -04:00 committed by Theodore Ts'o
parent de5ce03730
commit 0f7ee7c172
1 changed files with 1 additions and 0 deletions

View File

@ -1093,6 +1093,7 @@ failed_mount:
brelse(bh);
failed_sbi:
sb->s_fs_info = NULL;
kfree(sbi->s_blockgroup_lock);
kfree(sbi);
return ret;
}