mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 21:08:10 +02:00
cairo-xcb: avoid leaking memory
This commit is contained in:
parent
5badcf6e37
commit
164069b339
1 changed files with 3 additions and 0 deletions
|
|
@ -2416,6 +2416,9 @@ _cairo_xcb_surface_emit_glyphs (cairo_xcb_surface_t *dst,
|
|||
}
|
||||
}
|
||||
|
||||
/* We wouldn't want to leak memory, would we? */
|
||||
free(output_glyphs);
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue