projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d2257
)
fix leak in romfs_fill_super()
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 25 Jan 2010 11:05:54 +0000
(06:05 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 9 Feb 2010 12:50:47 +0000
(
04:50
-0800)
commit
7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8
upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/romfs/super.c
patch
|
blob
|
history
diff --git
a/fs/romfs/super.c
b/fs/romfs/super.c
index c117fa80d1e9b9ddc9be29a7d412022b9d158010..42d213546894a3b412bea8634f7c9535f25cdb19 100644
(file)
--- a/
fs/romfs/super.c
+++ b/
fs/romfs/super.c
@@
-544,6
+544,7
@@
error:
error_rsb_inval:
ret = -EINVAL;
error_rsb:
+ kfree(rsb);
return ret;
}