aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/mmap-basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/mmap-basic.c')
-rw-r--r--tools/perf/tests/mmap-basic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/mmap-basic.c b/tools/perf/tests/mmap-basic.c
index d64ab79c6d35..bbb334d2a864 100644
--- a/tools/perf/tests/mmap-basic.c
+++ b/tools/perf/tests/mmap-basic.c
@@ -143,6 +143,8 @@ out_close_fd:
143 perf_evsel__close_fd(evsels[i], 1, threads->nr); 143 perf_evsel__close_fd(evsels[i], 1, threads->nr);
144out_free_evlist: 144out_free_evlist:
145 perf_evlist__delete(evlist); 145 perf_evlist__delete(evlist);
146 cpus = NULL;
147 threads = NULL;
146out_free_cpus: 148out_free_cpus:
147 cpu_map__delete(cpus); 149 cpu_map__delete(cpus);
148out_free_threads: 150out_free_threads: