mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
window: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=708070
This commit is contained in:
parent
ff7c85c599
commit
0394b4a82b
@ -236,6 +236,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