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