From: Mikael Magnusson Date: Thu, 28 Feb 2008 19:40:52 +0000 (+0100) Subject: Free copied glists when removing desktops. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=017d9564440d5b8b5cc03ad6c1e17e37d29ec74b;p=chaz%2Fopenbox Free copied glists when removing desktops. --- diff --git a/openbox/screen.c b/openbox/screen.c index 346b50c3..f9b0b303 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -542,6 +542,7 @@ void screen_set_num_desktops(guint num) stacking_raise(CLIENT_AS_WINDOW(c)); } } + g_list_free(stacking_copy); /* change our struts/area to match (after moving windows) */ screen_update_areas(); @@ -798,6 +799,7 @@ void screen_remove_desktop(gboolean current) } } } + g_list_free(stacking_copy); /* fallback focus like we're changing desktops */ if (screen_desktop < screen_num_desktops - 1) {