diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 277947a669b24cca255538c558f56bbcd14d4437..a1b823f8c17fc30da79ca63ba3b71404ea092b47 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c @@ -410,6 +410,7 @@ hist_entry__collapse(struct hist_entry *left, struct hist_entry *right) void hist_entry__free(struct hist_entry *he) { + free(he->branch_info); free(he); }