perf tools: Add reference counting for thread_map object
[deliverable/linux.git] / tools / perf / tests / mmap-thread-lookup.c
index 7f48efa7e295f63a72f0aa083857658ce68c45cb..145050e2e5446166f900f8d9405859b15bfcfff3 100644 (file)
@@ -143,7 +143,7 @@ static int synth_process(struct machine *machine)
                                                perf_event__process,
                                                machine, 0, 500);
 
-       thread_map__delete(map);
+       thread_map__put(map);
        return err;
 }
 
This page took 0.045194 seconds and 5 git commands to generate.