changeset 1363:b454b1d084ce

[gaim-migrate @ 1373] good to be free committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 22 Dec 2000 14:35:32 +0000
parents 3cea00ca7a34
children ce379d65a5e3
files plugins/jabber/jabber.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/jabber/jabber.c	Fri Dec 22 10:48:19 2000 +0000
+++ b/plugins/jabber/jabber.c	Fri Dec 22 14:35:32 2000 +0000
@@ -787,6 +787,7 @@
 	y = xmlnode_insert_tag(xmlnode_get_tag(x, "query"), "item");
 	xmlnode_put_attrib(y, "jid", realwho);
 	gjab_send(((struct jabber_data *)gc->proto_data)->jc, x);
+	xmlnode_free(x);
 
 	x = xmlnode_new_tag("presence");
 	xmlnode_put_attrib(x, "to", realwho);
@@ -817,6 +818,7 @@
 	gjab_send(((struct jabber_data *)gc->proto_data)->jc, x);
 
 	g_free(realwho);
+	xmlnode_free(x);
 }
 
 static char **jabber_list_icon(int uc)