summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/util/svghelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/util/svghelper.c')
-rw-r--r--kernel/tools/perf/util/svghelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/tools/perf/util/svghelper.c b/kernel/tools/perf/util/svghelper.c
index 283d3e73e..eec6c1149 100644
--- a/kernel/tools/perf/util/svghelper.c
+++ b/kernel/tools/perf/util/svghelper.c
@@ -748,7 +748,7 @@ static int str_to_bitmap(char *s, cpumask_t *b)
set_bit(c, cpumask_bits(b));
}
- cpu_map__delete(m);
+ cpu_map__put(m);
return ret;
}