diff options
| author | Martin Kepplinger <[email protected]> | 2017-09-14 06:01:38 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-09-15 09:31:43 +0000 |
| commit | 0998b7a0befdf6e734032895ee639a5e6f88cc3f (patch) | |
| tree | fda8a97eb48ba960ff57e74bd04bc47e7d7fc78c /fs/proc/array.c | |
| parent | vfs: constify path argument to kernel_read_file_from_path (diff) | |
| download | kernel-0998b7a0befdf6e734032895ee639a5e6f88cc3f.tar.gz kernel-0998b7a0befdf6e734032895ee639a5e6f88cc3f.zip | |
objtool: Fix memory leak in elf_create_rela_section()
Let's free the allocated char array 'relaname' before returning,
in order to avoid leaking memory.
Signed-off-by: Martin Kepplinger <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
