diff options
| author | Adrian Hunter <[email protected]> | 2014-07-16 07:19:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-07-17 13:34:07 +0000 |
| commit | 418029b7324f8b90ac1dfbc8a44555d6905be761 (patch) | |
| tree | 58cda698a75560911cf01a0c103f3e51d91286d4 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf thread: Allow deletion of a thread with no map groups (diff) | |
| download | kernel-418029b7324f8b90ac1dfbc8a44555d6905be761.tar.gz kernel-418029b7324f8b90ac1dfbc8a44555d6905be761.zip | |
perf machine: Fix leak of 'struct thread' on error path
__machine__findnew_thread() creates a 'struct thread' but does not free
it on the error path. Fix it.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
