[cairo] Possible typo in cairo-gstate.c

Luiz Americo Pereira Camara luizmed at oi.com.br
Fri Oct 26 19:38:15 PDT 2007


In the function _cairo_gstate_fini / cairo-gstate.c:

cairo_surface_destroy (gstate->target);
gstate->target = NULL;
cairo_surface_destroy (gstate->parent_target);
gstate->parent_target = NULL;
cairo_surface_destroy (gstate->original_target);
gstate->target = NULL;  <= Should not be gstate->original_target = NULL ?
cairo_pattern_destroy (gstate->source);
gstate->source = NULL;

Sorry not providing a patch. I was only browsing the code and don't have 
a git setup.

Luiz


More information about the cairo mailing list