FDPIC: fix memory leak
Subsystems (2)
PATCH 1/1 FDPIC: fix memory leak
From: Davidlohr Bueso <[email protected]>
The shdr4extnum variable isn't being freed in the cleanup process of elf_fdpic_core_dump().
Signed-off-by Davidlohr Bueso <[email protected]>
--- fs/binfmt_elf_fdpic.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
fs/binfmt_elf_fdpic.c +1 -0
@@ -1864,6 +1864,7 @@ cleanup:kfree (psinfo);kfree (notes);kfree (fpu); +kfree (shdr4extnum);#ifdef ELF_CORE_COPY_XFPREGS kfree (xfpu);#endif
Signature · 1 line
1.7.4.1