diff options
Diffstat (limited to 'tools/perf/builtin-stat.c')
-rw-r--r-- | tools/perf/builtin-stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index c385a63ebfd1..0ff11d9b13be 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c | |||
@@ -743,6 +743,7 @@ int cmd_stat(int argc, const char **argv, const char *prefix __used) | |||
743 | out_free_fd: | 743 | out_free_fd: |
744 | list_for_each_entry(pos, &evsel_list, node) | 744 | list_for_each_entry(pos, &evsel_list, node) |
745 | perf_evsel__free_stat_priv(pos); | 745 | perf_evsel__free_stat_priv(pos); |
746 | perf_evsel_list__delete(); | ||
746 | out: | 747 | out: |
747 | thread_map__delete(threads); | 748 | thread_map__delete(threads); |
748 | threads = NULL; | 749 | threads = NULL; |