mirror of
https://github.com/brl/mutter.git
synced 2025-01-21 17:08:56 +00:00
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. (cherry-picked from 40e6aa7d94e64d80fe07f020d75d540200004ea9) https://gitlab.gnome.org/GNOME/mutter/merge_requests/873
This commit is contained in:
parent
cc00e55513
commit
eb78b7d0d1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user