Plug a pair of leaks. Fixes #165378

2005-01-27  Elijah Newren  <newren@gmail.com>

	Plug a pair of leaks.  Fixes #165378

	* src/place.c: (meta_window_place, get_windows_on_same_workspace):
	free list returned by meta_display_list_windows.
This commit is contained in:
Elijah Newren 2005-01-27 18:30:27 +00:00 committed by Elijah Newren
parent d93d26aaeb
commit 1e580d1e52
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2005-01-27 Elijah Newren <newren@gmail.com>
Plug a pair of leaks. Fixes #165378
* src/place.c: (meta_window_place, get_windows_on_same_workspace):
free list returned by meta_display_list_windows.
2005-01-27 Elijah Newren <newren@gmail.com> 2005-01-27 Elijah Newren <newren@gmail.com>
Treat splashscreens same as other windows for stacking. Fixes Treat splashscreens same as other windows for stacking. Fixes

View File

@ -755,6 +755,8 @@ meta_window_place (MetaWindow *window,
tmp = tmp->next; tmp = tmp->next;
} }
g_slist_free (all_windows);
} }
/* Warning, this is a round trip! */ /* Warning, this is a round trip! */
@ -888,6 +890,8 @@ get_windows_on_same_workspace (MetaWindow *window,
if (n_windows) if (n_windows)
*n_windows = i; *n_windows = i;
g_slist_free (all_windows);
return windows; return windows;
} }