compositor: Plug cairo_region_t leak

The MetaBackgroundActor uses a region to find out the areas that need
repainting, but forgot to free it, oops.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/873
This commit is contained in:
Carlos Garnacho 2019-10-21 18:57:10 +02:00
parent 668be1f4bd
commit 40e6aa7d94

View File

@ -573,6 +573,8 @@ meta_background_actor_paint (ClutterActor *actor)
paint_clipped_rectangle (fb, self->pipeline, &rect,
&self->texture_area);
}
cairo_region_destroy (region);
}
static void