diff options
author | Martin Kepplinger <[email protected]> | 2017-09-14 08:01:38 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-09-15 11:31:43 +0200 |
commit | 0998b7a0befdf6e734032895ee639a5e6f88cc3f (patch) | |
tree | fda8a97eb48ba960ff57e74bd04bc47e7d7fc78c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 711aab1dbb324d321e3d84368a435a78908c7bce (diff) |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions