Re: [PATCH] perf tools: Fix possible double free on error

2015-03-09 Thread He Kuang
Hi, It seems this patch not appeared in any repo, so ping.. On 2015/3/4 20:46, Masami Hiramatsu wrote: (2015/03/04 19:01), He Kuang wrote: A double free occurred when get source file path failed. If lr->path failed to assign a new value, it will be freed as the old path and then be freed again

Re: [PATCH] perf tools: Fix possible double free on error

2015-03-04 Thread Masami Hiramatsu
(2015/03/04 19:01), He Kuang wrote: > A double free occurred when get source file path failed. If lr->path > failed to assign a new value, it will be freed as the old path and then > be freed again during line_range__clear(), and causes this: > > $ perf probe -L do_execve -k vmlinux > *** Erro

[PATCH] perf tools: Fix possible double free on error

2015-03-04 Thread He Kuang
A double free occurred when get source file path failed. If lr->path failed to assign a new value, it will be freed as the old path and then be freed again during line_range__clear(), and causes this: $ perf probe -L do_execve -k vmlinux *** Error in `/usr/bin/perf': double free or corruption