diff options
Diffstat (limited to 'tools/perf/tests/mmap-basic.c')
| -rw-r--r-- | tools/perf/tests/mmap-basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/mmap-basic.c b/tools/perf/tests/mmap-basic.c index 5855cf471210..5a9ef5833452 100644 --- a/tools/perf/tests/mmap-basic.c +++ b/tools/perf/tests/mmap-basic.c | |||
| @@ -140,7 +140,7 @@ out_delete_evlist: | |||
| 140 | cpus = NULL; | 140 | cpus = NULL; |
| 141 | threads = NULL; | 141 | threads = NULL; |
| 142 | out_free_cpus: | 142 | out_free_cpus: |
| 143 | cpu_map__delete(cpus); | 143 | cpu_map__put(cpus); |
| 144 | out_free_threads: | 144 | out_free_threads: |
| 145 | thread_map__delete(threads); | 145 | thread_map__delete(threads); |
| 146 | return err; | 146 | return err; |
