perf hists: Free unused mem info of a matched hist entry
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 1 Apr 2013 11:35:18 +0000 (20:35 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2013 13:23:52 +0000 (16:23 +0300)
commitceb2acbc2c1387c8785b3c98b482f5a2b89447c3
tree9ab10db348d838c9bccaa2fdee6561125d64a85f
parent26353a61b977e57b58dd3555bc0422fea46c5ad6
perf hists: Free unused mem info of a matched hist entry

The mem info is shared between matched entries so one should be freed.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.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>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1364816125-12212-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c