perf tools: Fix write_numa_topology to put cpu_map instead of free
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 9 Dec 2015 02:11:35 +0000 (11:11 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Dec 2015 16:42:01 +0000 (13:42 -0300)
commit5191d887681dd34ba3993a438d5746378952885a
tree19f4cfd04819fb3310c501c7abdb7b9264776324
parentcc1121ab9687d660cc02f50b1a4974112f87a8e6
perf tools: Fix write_numa_topology to put cpu_map instead of free

Fix write_numa_topology to put cpu_map instead of free because cpu_map
is managed based on refcnt.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20151209021135.10245.79046.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c