diff options
| author | Masami Hiramatsu <[email protected]> | 2020-01-11 01:04:31 +0900 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2020-01-13 13:19:39 -0500 |
| commit | 0068c92a92707789b8711e40d584a2433481a29d (patch) | |
| tree | 311dd6449f4e3bd31ccd843ca36da0d342a85610 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | c1a3c36017d4c4a4c61aa5f86704b7e80b92d3f7 (diff) | |
init/main.c: Alloc initcall_command_line in do_initcall() and free it
Since initcall_command_line is used as a temporary buffer,
it could be freed after usage. Allocate it in do_initcall()
and free it after used.
Link: http://lkml.kernel.org/r/157867227145.17873.17513760552008505454.stgit@devnote2
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions