3e2b0c4
diff -up gnome-applets-2.23.90/gswitchit/gswitchit-applet.c.keyboard-applet-leak gnome-applets-2.23.90/gswitchit/gswitchit-applet.c
3e2b0c4
--- gnome-applets-2.23.90/gswitchit/gswitchit-applet.c.keyboard-applet-leak	2008-08-29 21:29:30.000000000 -0400
3e2b0c4
+++ gnome-applets-2.23.90/gswitchit/gswitchit-applet.c	2008-08-29 21:29:34.000000000 -0400
3e2b0c4
@@ -151,14 +151,17 @@ GSwitchItAppletSetBackground (PanelApple
3e2b0c4
 
3e2b0c4
 	/* go down */
3e2b0c4
 	if (GTK_IS_CONTAINER (w)) {
3e2b0c4
-		GList *child =
3e2b0c4
+                GList *child;
3e2b0c4
+		GList *children =
3e2b0c4
 		    gtk_container_get_children (GTK_CONTAINER (w));
3e2b0c4
+		child = children;
3e2b0c4
 		while (child != NULL) {
3e2b0c4
 			GSwitchItAppletSetBackground (applet,
3e2b0c4
 						      GTK_WIDGET (child->
3e2b0c4
 								  data));
3e2b0c4
 			child = child->next;
3e2b0c4
 		}
3e2b0c4
+		g_list_free (children);
3e2b0c4
 	}
3e2b0c4
 }
3e2b0c4