diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index f9222ef39..402329ba6 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -2201,6 +2201,7 @@ check_needs_reshape (MetaWindowActor *self) meta_shaped_texture_set_mask_texture (META_SHAPED_TEXTURE (priv->actor), NULL); g_clear_pointer (&priv->shape_region, cairo_region_destroy); + g_clear_pointer (&priv->opaque_region, cairo_region_destroy); #ifdef HAVE_SHAPE if (priv->window->has_shape)