mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 07:00:08 +01:00
cairo-perf-print: Do not free the uninitialised histogram
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
5589e80e2b
commit
686ebd4a89
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue