Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
8bc5191b
Commit
8bc5191b
authored
Jan 19, 2012
by
Al Viro
Browse files
qnx4: don't leak ->BitMap on late failure exits
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
4134bf81
Changes
1
Hide whitespace changes
Inline
Side-by-side
fs/qnx4/inode.c
View file @
8bc5191b
...
...
@@ -256,7 +256,7 @@ static int qnx4_fill_super(struct super_block *s, void *data, int silent)
if
(
IS_ERR
(
root
))
{
printk
(
KERN_ERR
"qnx4: get inode failed
\n
"
);
ret
=
PTR_ERR
(
root
);
goto
out
;
goto
out
b
;
}
ret
=
-
ENOMEM
;
...
...
@@ -269,6 +269,8 @@ static int qnx4_fill_super(struct super_block *s, void *data, int silent)
outi:
iput
(
root
);
outb:
kfree
(
qs
->
BitMap
);
out:
brelse
(
bh
);
outnobh:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment