recording: Fix leak of clip from snapshots of recording surfaces.

This commit is contained in:
Chris Wilson 2010-03-24 11:38:19 +00:00
parent 5b4885f693
commit e356e5d18b

View file

@ -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;
}