perf hists: Free srcline when freeing hist_entry
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 11 Sep 2013 05:09:27 +0000 (14:09 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Oct 2013 18:58:28 +0000 (15:58 -0300)
commit909b143162de7af310d2a9351220030260ebe728
treefc7ea08f188006231ecdc59a63c6e5536e3b762a
parent89da393c171926d3372f573d752be5ced98038eb
perf hists: Free srcline when freeing hist_entry

We've been leaked srcline of hist_entry, it should be freed also.

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-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c