changeset 27087:8502d69e45ed

khc: darkrain42: xmlnode not free'ed in jabber_watched_iq darkrain42: bah! Turns out there was more than one not being freed...
author Paul Aurich <paul@darkrain42.org>
date Wed, 03 Jun 2009 06:03:22 +0000
parents 60cb86295f08
children d31af94a715d
files libpurple/plugins/signals-test.c pidgin/plugins/disco/xmppdisco.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/signals-test.c	Wed Jun 03 05:51:51 2009 +0000
+++ b/libpurple/plugins/signals-test.c	Wed Jun 03 06:03:22 2009 +0000
@@ -686,6 +686,7 @@
 		prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
 		prpl_info->send_raw(pc, str, -1);
 		g_free(str);
+		xmlnode_free(iq);
 	}
 
 	/* Cookie monster eats IQ stanzas; the prpl shouldn't keep processing */
--- a/pidgin/plugins/disco/xmppdisco.c	Wed Jun 03 05:51:51 2009 +0000
+++ b/pidgin/plugins/disco/xmppdisco.c	Wed Jun 03 06:03:22 2009 +0000
@@ -164,6 +164,8 @@
 	prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
 	prpl_info->send_raw(pc, str, -1);
 	g_free(str);
+	xmlnode_free(iq);
+	g_free(id);
 }
 
 static void
@@ -193,6 +195,8 @@
 	prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
 	prpl_info->send_raw(pc, str, -1);
 	g_free(str);
+	xmlnode_free(iq);
+	g_free(id);
 }
 
 static XmppDiscoServiceType
@@ -548,6 +552,7 @@
 	prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
 	prpl_info->send_raw(service->list->pc, str, -1);
 	g_free(str);
+	xmlnode_free(iq);
 	g_free(id);
 }