perf tools: Add reference counting for thread_map object
[deliverable/linux.git] / tools / perf / tests / mmap-basic.c
index 5855cf47121003479ae63e859059a5ad8809c5ec..666b67a4df9dd0d8ea8d41736af4355008c11464 100644 (file)
@@ -140,8 +140,8 @@ out_delete_evlist:
        cpus    = NULL;
        threads = NULL;
 out_free_cpus:
-       cpu_map__delete(cpus);
+       cpu_map__put(cpus);
 out_free_threads:
-       thread_map__delete(threads);
+       thread_map__put(threads);
        return err;
 }
This page took 0.041709 seconds and 5 git commands to generate.