summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'perf/cairo-perf-print.c')
-rw-r--r--perf/cairo-perf-print.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/perf/cairo-perf-print.c b/perf/cairo-perf-print.c
index 58210b88d..d7ae1311e 100644
--- a/perf/cairo-perf-print.c
+++ b/perf/cairo-perf-print.c
@@ -107,7 +107,8 @@ report_print (const cairo_perf_report_t *report,
test->stats.iterations, test->samples_count);
}
- _cairo_histogram_fini (&h);
+ if (show_histogram)
+ _cairo_histogram_fini (&h);
}
int