A combination of a couple memory leaks fixes, from Kjartan, Soeren, and I.

2005-10-03  Elijah Newren  <newren@gmail.com>

	A combination of a couple memory leaks fixes, from Kjartan,
	Soeren, and I.  Fixes #313030.

	* src/bell.c (meta_bell_flash_screen): call XFreeGC()

	* src/frames.c (invalidate_cache): free pixels

	* src/window.c (meta_window_show_menu): call
	meta_screen_free_workspace_layout()
This commit is contained in:
Elijah Newren
2005-10-03 19:22:40 +00:00
committed by Elijah Newren
parent ea4cd88285
commit 26dbf9856b
4 changed files with 17 additions and 5 deletions

View File

@ -6219,6 +6219,8 @@ meta_window_show_menu (MetaWindow *window,
ops |= META_MENU_OP_MOVE_DOWN;
}
meta_screen_free_workspace_layout (&layout);
if (window->maximized)
ops |= META_MENU_OP_UNMAXIMIZE;
else