mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-05 09:10:19 +01:00
snapshot: Finish the clone.
Kill ref cycles from snapshots patterns by explicitly calling finish on the cloned surface.
This commit is contained in:
parent
db913d731e
commit
b12114f296
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ _cairo_surface_snapshot_finish (void *abstract_surface)
|
|||
{
|
||||
cairo_surface_snapshot_t *surface = abstract_surface;
|
||||
|
||||
cairo_surface_finish (surface->clone);
|
||||
cairo_surface_destroy (surface->clone);
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue