aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2010-08-27 20:38:46 +0900
committerArnaldo Carvalho de Melo <[email protected]>2010-09-08 11:47:18 -0300
commit61a527362234ac3352a91ac67c50c6f7cd248eb1 (patch)
tree6d3ed6390f61d7819c11b459d86d5dac76ca7f0c /tools/perf/scripts/python
parent9c55cb12c1c172e2d51e85fbb5a4796ca86b77e7 (diff)
tracing/kprobe: Fix a memory leak in error case
Fix a memory leak which happens when a field name conflicts with others. In error case, free_trace_probe() will free all arguments until nr_args, so this increments nr_args the begining of the loop instead of the end. Cc: Steven Rostedt <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mathieu Desnoyers <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions