commit | 0f7ee7c17241915fdaff49d1a36f5aafd80a7dce | [log] [tgz] |
---|---|---|
author | Manish Katiyar <mkatiyar@gmail.com> | Sun May 17 23:52:51 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun May 17 23:52:51 2009 -0400 |
tree | 463d3882e4df4d8a8a86868a975b37218c1b3192 | |
parent | de5ce037304f2c88a319b1c3b808ab0c4c618c1c [diff] [blame] |
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>
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 5c4afe6..e3c748f 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c
@@ -1093,6 +1093,7 @@ brelse(bh); failed_sbi: sb->s_fs_info = NULL; + kfree(sbi->s_blockgroup_lock); kfree(sbi); return ret; }