mirror of
https://github.com/brl/mutter.git
synced 2025-02-20 06:54:10 +00:00
window: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=708070
This commit is contained in:
parent
59908a01c1
commit
f4ddff14b9
@ -234,6 +234,9 @@ meta_window_finalize (GObject *object)
|
|||||||
if (window->frame_bounds)
|
if (window->frame_bounds)
|
||||||
cairo_region_destroy (window->frame_bounds);
|
cairo_region_destroy (window->frame_bounds);
|
||||||
|
|
||||||
|
if (window->shape_region)
|
||||||
|
cairo_region_destroy (window->shape_region);
|
||||||
|
|
||||||
if (window->opaque_region)
|
if (window->opaque_region)
|
||||||
cairo_region_destroy (window->opaque_region);
|
cairo_region_destroy (window->opaque_region);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user