_cairo_unscaled_font_destroy (gstate->font);
if (gstate->font_family) free (gstate->font_family);  if (gstate->font) cairo_font_destroy (gstate->font);
_cairo_gstate_fini (cairo_gstate_t *gstate){    _cairo_unscaled_font_destroy (gstate->font);    if (gstate->surface)	cairo_surface_destroy (gstate->surface);    gstate->surface = NULL;    if (gstate->clip.surface)	cairo_surface_destroy (gstate->clip.surface);    gstate->clip.surface = NULL;    if (gstate->clip.region)	pixman_region_destroy (gstate->clip.region);    gstate->clip.region = NULL;    cairo_pattern_destroy (gstate->pattern);    _cairo_matrix_fini (&gstate->font_matrix);    _cairo_matrix_fini (&gstate->ctm);    _cairo_matrix_fini (&gstate->ctm_inverse);    _cairo_path_fini (&gstate->path);    _cairo_pen_fini (&gstate->pen_regular);    if (gstate->dash) {	free (gstate->dash);	gstate->dash = NULL;    }}