projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23c570a
)
FDPIC: Fix memory leak
author
Davidlohr Bueso
<dave@gnu.org>
Wed, 6 Jul 2011 11:26:05 +0000
(12:26 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 6 Jul 2011 19:15:16 +0000
(12:15 -0700)
The shdr4extnum variable isn't being freed in the cleanup process of
elf_fdpic_core_dump().
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf_fdpic.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/binfmt_elf_fdpic.c
b/fs/binfmt_elf_fdpic.c
index 63039ed9576f75c396ed0dae71bec1e4abf53058..2bc5dc644b4cb82c21300a925276a861644de5bd 100644
(file)
--- a/
fs/binfmt_elf_fdpic.c
+++ b/
fs/binfmt_elf_fdpic.c
@@
-1864,6
+1864,7
@@
cleanup:
kfree(psinfo);
kfree(notes);
kfree(fpu);
+ kfree(shdr4extnum);
#ifdef ELF_CORE_COPY_XFPREGS
kfree(xfpu);
#endif