projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'topic/smbus-block' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
tests
/
code-reading.c
diff --git
a/tools/perf/tests/code-reading.c
b/tools/perf/tests/code-reading.c
index 22f8a00446e1f1b3cb6b447dbc1bc21ccfda3108..39c784a100a955143e401fc46cbcb93a2a3d8136 100644
(file)
--- a/
tools/perf/tests/code-reading.c
+++ b/
tools/perf/tests/code-reading.c
@@
-545,8
+545,8
@@
out_err:
if (evlist) {
perf_evlist__delete(evlist);
} else {
if (evlist) {
perf_evlist__delete(evlist);
} else {
- cpu_map__
delete
(cpus);
- thread_map__
delete
(threads);
+ cpu_map__
put
(cpus);
+ thread_map__
put
(threads);
}
machines__destroy_kernel_maps(&machines);
machine__delete_threads(machine);
}
machines__destroy_kernel_maps(&machines);
machine__delete_threads(machine);