diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-09-11 14:09:25 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-10-09 15:58:07 -0300 |
commit | 963ba5fd5d04f36d6a5c9a94562484a4f270c1de (patch) | |
tree | 7970c09c4fb24df64764776a7223d39aaeac5554 /lib/interval_tree_test_main.c | |
parent | fc67297b16da335d610af2fac96233d51146300a (diff) |
perf sort: Fix a memory leak on srcline
In the hist_entry__srcline_snprintf(), path and self->srcline are
pointing the same memory region, but they are doubly allocated.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1378876173-13363-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/interval_tree_test_main.c')
0 files changed, 0 insertions, 0 deletions