changeset 2635:8c75e59e4bdf

[gaim-migrate @ 2648] no. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 29 Oct 2001 11:23:22 +0000
parents 7a3f7aebd4e5
children cc0b447f90e0
files ChangeLog src/protocols/jabber/jabber.c src/protocols/oscar/conn.c src/protocols/yahoo/yay.c
diffstat 4 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 29 06:47:49 2001 +0000
+++ b/ChangeLog	Mon Oct 29 11:23:22 2001 +0000
@@ -25,6 +25,7 @@
 	* In MSN you can set a person's alias to their "friendly name" by
 	  right-click on their name while they're online.
 	* IRC can do /WHOIS
+	* The usual bug fixes and memory leak plugs
 
 version 0.46 (10/18/2001):
 	* New applet icons (courtesy David Raeman)
--- a/src/protocols/jabber/jabber.c	Mon Oct 29 06:47:49 2001 +0000
+++ b/src/protocols/jabber/jabber.c	Mon Oct 29 11:23:22 2001 +0000
@@ -359,6 +359,7 @@
 			/* id attrib of stream is stored for digest auth */
 			j->sid = xmlnode_get_attrib(x, "id");
 			/* STATE_EVT(JCONN_STATE_AUTH) */
+			xmlnode_free(x);
 		} else {
 			j->current = x;
 		}
@@ -1222,6 +1223,7 @@
 		gaim_input_remove(gc->inpa);
 	close(jd->jc->fd);
 	g_timeout_add(50, jabber_free, jd->jc);
+	xmlnode_free(jd->jc->current);
 	jd->jc = NULL;
 	g_free(jd);
 	gc->proto_data = NULL;
--- a/src/protocols/oscar/conn.c	Mon Oct 29 06:47:49 2001 +0000
+++ b/src/protocols/oscar/conn.c	Mon Oct 29 11:23:22 2001 +0000
@@ -884,6 +884,7 @@
  */
 faim_export void aim_session_kill(aim_session_t *sess)
 {
+	aim_cleansnacs(sess, -1);
 
 	aim_logoff(sess);
 
--- a/src/protocols/yahoo/yay.c	Mon Oct 29 06:47:49 2001 +0000
+++ b/src/protocols/yahoo/yay.c	Mon Oct 29 11:23:22 2001 +0000
@@ -158,6 +158,7 @@
 
 	g_free(tmp);
 
+	strip_linefeed(buf);
 	serv_got_im(gc, nick, buf, 0, tm ? tm : time((time_t)NULL));
 
 	return 1;
@@ -276,6 +277,8 @@
 
 	account_online(gc);
 	serv_finish_login(gc);
+	if (yd->active_id)
+		g_free(yd->active_id);
 	yd->active_id = g_strdup(gc->username);
 	yd->logged_in = TRUE;
 
@@ -397,6 +400,7 @@
 	g_hash_table_destroy(yd->hash);
 	yahoo_disconnect(yd->sess);
 	yahoo_delete(yd->sess);
+	g_free(yd->active_id);
 	g_free(yd);
 }