diff options
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r-- | tools/perf/builtin-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 2a85cc9a2d09..e6a0844bc2f0 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c | |||
@@ -654,7 +654,7 @@ static void data__free(struct data__file *d) | |||
654 | for (col = 0; col < PERF_HPP_DIFF__MAX_INDEX; col++) { | 654 | for (col = 0; col < PERF_HPP_DIFF__MAX_INDEX; col++) { |
655 | struct diff_hpp_fmt *fmt = &d->fmt[col]; | 655 | struct diff_hpp_fmt *fmt = &d->fmt[col]; |
656 | 656 | ||
657 | free(fmt->header); | 657 | zfree(&fmt->header); |
658 | } | 658 | } |
659 | } | 659 | } |
660 | 660 | ||