diff options
| author | Namhyung Kim <[email protected]> | 2013-09-11 14:09:26 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-10-09 15:58:20 -0300 |
| commit | 89da393c171926d3372f573d752be5ced98038eb (patch) | |
| tree | 341ee9887bc5a739ca4ccf22c599dfd93c03c214 /lib/timerqueue.c | |
| parent | 963ba5fd5d04f36d6a5c9a94562484a4f270c1de (diff) | |
perf annotate: Reuse path from the result of addr2line
In the symbol__get_source_line(), path and src_line->path will have same
value, but they were allocated separately, and leaks one. Just share
path to src_line->path.
Signed-off-by: Namhyung Kim <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions