[PATCH 2/6] perf evsel: Cleanup perf_evsel__exit()

2013-03-14 Thread Namhyung Kim
From: Namhyung Kim Use perf_evsel__free_* because they do the same thing and ensures the pointer has NULL value at the end. Signed-off-by: Namhyung Kim --- tools/perf/util/evsel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/evsel.c

[PATCH 2/6] perf evsel: Cleanup perf_evsel__exit()

2013-03-14 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Use perf_evsel__free_* because they do the same thing and ensures the pointer has NULL value at the end. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/evsel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git