diff options
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index e68aee33bc1..052de1780f7 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -965,8 +965,6 @@ int cmd_record(int argc, const char **argv, const char *prefix __used) | |||
965 | out_free_event_array: | 965 | out_free_event_array: |
966 | free(event_array); | 966 | free(event_array); |
967 | out_free_fd: | 967 | out_free_fd: |
968 | list_for_each_entry(pos, &evsel_list, node) | ||
969 | perf_evsel__free_fd(pos); | ||
970 | free(all_tids); | 968 | free(all_tids); |
971 | all_tids = NULL; | 969 | all_tids = NULL; |
972 | out_symbol_exit: | 970 | out_symbol_exit: |