From 62d7593fc2961966c93912cacc8059158194949c Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Tue, 1 Feb 2011 20:01:49 +0100 Subject: [PATCH] Fix crash in gtk_fixed_remove() b3f6f67c changed the loop from while() to for(), but the line to move to the next child was kept, so we could go past the end of the list. https://bugzilla.gnome.org/show_bug.cgi?id=641176 --- gtk/gtkfixed.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index e61f03a625..fd92cd7b2e 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -526,8 +526,6 @@ gtk_fixed_remove (GtkContainer *container, break; } - - children = children->next; } }