diff --git a/src/core/frame.c b/src/core/frame.c index 8d0c06b8f..33e0c6f8d 100644 --- a/src/core/frame.c +++ b/src/core/frame.c @@ -217,6 +217,11 @@ meta_window_destroy_frame (MetaWindow *window) frame->xwindow); window->frame = NULL; + if (window->frame_bounds) + { + cairo_region_destroy (window->frame_bounds); + window->frame_bounds = NULL; + } /* Move keybindings to window instead of frame */ meta_window_grab_keys (window);