diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2016-02-09 15:40:16 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-03-03 11:10:38 -0300 |
commit | 9ec72eafee61f68cd57310a99db129ffb71302f3 (patch) | |
tree | 44c814b7d977765424c15eda214be62cb58a5844 /tools/perf/scripts/python/stackcollapse.py | |
parent | 21a30100453516004905d4d5f0806ebaffa95131 (diff) |
tools lib traceevent: Set int_array fields to NULL if freeing from error
Had a bug where on error of parsing __print_array() where the fields are
freed after they were allocated, but since they were not set to NULL,
the freeing of the arg also tried to free the already freed fields
causing a double free.
Fix process_hex() while at it.
Signed-off-by: Steven Rostedt <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions