changeset 1016:661ac77ccd1b

[gaim-migrate @ 1026] it helps doing things in a more proper way committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 21 Oct 2000 10:21:24 +0000
parents c3579d03a0c1
children bbd0d51b7d14
files libfaim/CHANGES.gaim src/oscar.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libfaim/CHANGES.gaim	Sat Oct 21 09:56:16 2000 +0000
+++ b/libfaim/CHANGES.gaim	Sat Oct 21 10:21:24 2000 +0000
@@ -1,3 +1,9 @@
+
+Sat Oct 21 10:18:30 UTC 2000 EWarmenhoven
+	- After signing off chat room structs and input watchers weren't
+	  being removed. This definitely caused leaks (though small ones)
+	  and may have caused a lot of CPU usage. This got modified, and
+	  hopefully fixed.
 
 Wed Oct 18 02:29:38 UTC 2000 EWarmenhoven
 	- removed Direct IM temporarily while I figure out the UI for how
--- a/src/oscar.c	Sat Oct 21 09:56:16 2000 +0000
+++ b/src/oscar.c	Sat Oct 21 10:21:24 2000 +0000
@@ -322,8 +322,8 @@
 		n = (struct chat_connection *)c->data;
 		gdk_input_remove(n->inpa);
 		g_free(n->name);
+		c = g_slist_remove(c, n);
 		g_free(n);
-		c = c->next;
 	}
 	if (gc->inpa > 0)
 		gdk_input_remove(gc->inpa);