mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-18 03:38:06 +02:00
Change free and surface_destroy order
This commit is contained in:
parent
5f11c36f10
commit
8c6d1628ed
1 changed files with 1 additions and 1 deletions
|
|
@ -31,9 +31,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
cairo_tag_begin(cr, buf, NULL);
|
||||
cairo_tag_end(cr, buf);
|
||||
|
||||
free(buf);
|
||||
cairo_destroy(cr);
|
||||
cairo_surface_destroy(surface);
|
||||
free(buf);
|
||||
fuzzer_release_tmpfile(tmpfile);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue