diff options
author | Franck Bui-Huu <[email protected]> | 2012-05-25 15:21:49 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-25 11:40:59 -0300 |
commit | e8cdd947776300f962d5b699c34087af45a8aea7 (patch) | |
tree | 819f25aa3ca86310ae96a3debe31cfb09deff19f /tools/perf/scripts/python/netdev-times.py | |
parent | a83eb3ea97efbc891b2f67e91329638cd4e21622 (diff) |
perf tools: fix thread_map__new_by_pid_str() memory leak in error path
The namelist array (including its content) was not freed if we fail to
realloc a new 'threads' structure.
Signed-off-by: Franck Bui-Huu <[email protected]>
Cc: David Ahern <[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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions