diff pidgin/plugins/disco/xmppdisco.c @ 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 61d817c4c935
children d148ca9e4d9a
line wrap: on
line diff
--- 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);
 }