diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-21 16:58:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-21 16:59:25 +0100 |
commit | 686ebd4a893d2e583d0cf11bd9f77681dbf0b21c (patch) | |
tree | f40a774f06efa8edee4b267f48d295050bba3065 /perf | |
parent | 5589e80e2bd6b82e5730cbf6b72aaf82a66b31c0 (diff) | |
download | cairo-686ebd4a893d2e583d0cf11bd9f77681dbf0b21c.tar.gz |
cairo-perf-print: Do not free the uninitialised histogram
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'perf')
-rw-r--r-- | perf/cairo-perf-print.c | 3 |
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 |