From: Namhyung Kim Date: Wed, 11 Sep 2013 05:09:26 +0000 (+0900) Subject: perf annotate: Reuse path from the result of addr2line X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~28^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89da393c171926d3372f573d752be5ced98038eb;p=pandora-kernel.git 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 Reviewed-by: Jiri Olsa Cc: Ingo Molnar Cc: Jiri Olsa Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1378876173-13363-3-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed