Bug 1724795 - Fix leak in cairo-cff-subset (patch from https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/192, already merged upstream). r=jrmuizel

Differential Revision: https://phabricator.services.mozilla.com/D122201
This commit is contained in:
Jonathan Kew 2021-08-10 13:41:34 +00:00
parent 682c52a924
commit 1f7af5607b

View File

@ -1108,7 +1108,7 @@ cairo_cff_font_read_cid_fontdict (cairo_cff_font_t *font, unsigned char *ptr)
goto fail;
}
return CAIRO_STATUS_SUCCESS;
status = CAIRO_STATUS_SUCCESS;
fail:
cff_index_fini (&index);