cairo-perf-print: Do not free the uninitialised histogram

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-06-21 16:58:38 +01:00
parent 5589e80e2b
commit 686ebd4a89

View file

@ -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