[PATCH 1/9] perf sort: Fix a memory leak on srcline

2013-09-10 Thread Namhyung Kim
From: Namhyung Kim In the hist_entry__srcline_snprintf(), path and self->srcline are pointing the same memory region, but they are doubly allocated. Reviewed-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/util/sort.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --

[PATCH 1/9] perf sort: Fix a memory leak on srcline

2013-07-31 Thread Namhyung Kim
From: Namhyung Kim 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 --- tools/perf/util/sort.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/perf/util/so