cairo-xcb: avoid leaking memory

This commit is contained in:
Maarten Maathuis 2008-11-08 15:29:40 +01:00 committed by Chris Wilson
parent 5badcf6e37
commit 164069b339

View file

@ -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;
}