mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 18:08:03 +02:00
[PDF] Fix leak: free glyphs
This commit is contained in:
parent
ac4922bd07
commit
16c18aea52
1 changed files with 2 additions and 0 deletions
|
|
@ -1972,6 +1972,8 @@ _cairo_pdf_surface_emit_type3_font_subset (cairo_pdf_surface_t *surface,
|
|||
">>\r\n"
|
||||
"endobj\r\n");
|
||||
|
||||
free (glyphs);
|
||||
|
||||
subset_resource = _cairo_pdf_surface_new_object (surface);
|
||||
matrix = font_subset->scaled_font->scale;
|
||||
cairo_matrix_invert (&matrix);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue