From 8e6c0bec78ef928e96b259a8ad4f6a48af9bc494 Mon Sep 17 00:00:00 2001 From: Thomas James Alexander Thurman Date: Wed, 28 Jan 2009 02:30:30 +0000 Subject: [PATCH] some lists failed to keep track of their contents and therefore didn't * src/core/edge-resistance.c: some lists failed to keep track of their contents and therefore didn't free correctly. Closes #552303. svn path=/trunk/; revision=4095 --- ChangeLog | 8 +++++++- src/core/edge-resistance.c | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6642c2410..58630f26d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,13 @@ +2009-01-27 Matthias Claesen + + * src/core/edge-resistance.c: some lists failed to keep track + of their contents and therefore didn't free correctly. + Closes #552303. + 2009-01-27 Matthias Claesen * src/core/prefs.c: Free name of old theme when new theme - is loaded. + is loaded. Closes #552973. 2009-01-27 Matthias Claesen diff --git a/src/core/edge-resistance.c b/src/core/edge-resistance.c index fb7c2d2e4..cbd903206 100644 --- a/src/core/edge-resistance.c +++ b/src/core/edge-resistance.c @@ -985,8 +985,8 @@ meta_display_compute_resistance_and_snapping_edges (MetaDisplay *display) cur_window_iter = cur_window_iter->next; } /* Put 'em in bottom to top order */ - rem_windows = g_slist_reverse (obscuring_windows); - rem_win_stacking = g_slist_reverse (window_stacking); + rem_windows = obscuring_windows = g_slist_reverse (obscuring_windows); + rem_win_stacking = window_stacking = g_slist_reverse (window_stacking); /* * 3rd: loop over the windows again, this time getting the edges from