diff options
author | Pavel Vasin <rat4vier@gmail.com> | 2013-09-14 16:19:46 +0400 |
---|---|---|
committer | Adel Gadllah <adel.gadllah@gmail.com> | 2013-09-14 17:06:15 +0200 |
commit | 8a370c00947b8d6b020593ebe2ef78539a1755b3 (patch) | |
tree | a2d061ac2d615858c23818256b37a309b82f8df3 /src/core | |
parent | abe0701ce778ea641baed856284d2fb1dd881e64 (diff) |
window: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=708070
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c index 9b49cfba..002e4c5f 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -234,6 +234,9 @@ meta_window_finalize (GObject *object) if (window->frame_bounds) cairo_region_destroy (window->frame_bounds); + if (window->shape_region) + cairo_region_destroy (window->shape_region); + if (window->opaque_region) cairo_region_destroy (window->opaque_region); |