diff options
Diffstat (limited to 'tools/perf/tests/mmap-basic.c')
-rw-r--r-- | tools/perf/tests/mmap-basic.c | 2 |
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); |
144 | out_free_evlist: | 144 | out_free_evlist: |
145 | perf_evlist__delete(evlist); | 145 | perf_evlist__delete(evlist); |
146 | cpus = NULL; | ||
147 | threads = NULL; | ||
146 | out_free_cpus: | 148 | out_free_cpus: |
147 | cpu_map__delete(cpus); | 149 | cpu_map__delete(cpus); |
148 | out_free_threads: | 150 | out_free_threads: |