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

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