# HG changeset patch # User Paul Aurich # Date 1244009002 0 # Node ID 8502d69e45ed9bc642585bdf00651683c928af68 # Parent 60cb86295f08166d0d7f3ad8db972fb8eae48143 khc: darkrain42: xmlnode not free'ed in jabber_watched_iq darkrain42: bah! Turns out there was more than one not being freed... diff -r 60cb86295f08 -r 8502d69e45ed libpurple/plugins/signals-test.c --- 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 */ diff -r 60cb86295f08 -r 8502d69e45ed pidgin/plugins/disco/xmppdisco.c --- 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); }