cairo_destroy 3 cairo_destroy free a cairo_t void cairo_destroy (cairo_t *cr) cr : a cairo_t Description functions cairo_destroy Decreases the reference of a a cairo_t. If the refcount drops to zero, all associated resources will be freed. Saved states on the stack which were not restored with cairo_restore will be destroyed, too.