mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 04:58:04 +02:00
recording: Fix leak of clip from snapshots of recording surfaces.
This commit is contained in:
parent
5b4885f693
commit
e356e5d18b
1 changed files with 1 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ _cairo_recording_surface_finish (void *abstract_surface)
|
|||
|
||||
if (recording_surface->commands_owner) {
|
||||
cairo_surface_destroy (recording_surface->commands_owner);
|
||||
_cairo_clip_fini (&recording_surface->clip);
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue