window: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=708070
This commit is contained in:
parent
abe0701ce7
commit
8a370c0094
@ -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…
Reference in New Issue
Block a user