projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f683016
)
ext3: Fix memory leak in ext3_fill_super() in case of a failed mount
author
Manish Katiyar
<mkatiyar@gmail.com>
Mon, 18 May 2009 03:52:47 +0000
(23:52 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 18 May 2009 03:52:47 +0000
(23:52 -0400)
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext3/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext3/super.c
b/fs/ext3/super.c
index 599dbfe504c39ef8370dd28a4c65aa05346499b4..d8b73d4abe3ebeaa3d993a9e4c5f7e33410ca83d 100644
(file)
--- a/
fs/ext3/super.c
+++ b/
fs/ext3/super.c
@@
-2021,6
+2021,7
@@
failed_mount:
brelse(bh);
out_fail:
sb->s_fs_info = NULL;
+ kfree(sbi->s_blockgroup_lock);
kfree(sbi);
lock_kernel();
return ret;