diff --git a/ChangeLog b/ChangeLog index 8006bb5a5..3dfd63c14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-01-27 Elijah Newren + + 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 Treat splashscreens same as other windows for stacking. Fixes diff --git a/src/place.c b/src/place.c index 9eae27845..0da7c1334 100644 --- a/src/place.c +++ b/src/place.c @@ -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; }