comparison libpurple/plugins/signals-test.c @ 27005: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 d148ca9e4d9a
comparison
equal deleted inserted replaced
27004:60cb86295f08 27005:8502d69e45ed
684 str = xmlnode_to_str(iq, NULL); 684 str = xmlnode_to_str(iq, NULL);
685 prpl = purple_connection_get_prpl(pc); 685 prpl = purple_connection_get_prpl(pc);
686 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl); 686 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl);
687 prpl_info->send_raw(pc, str, -1); 687 prpl_info->send_raw(pc, str, -1);
688 g_free(str); 688 g_free(str);
689 xmlnode_free(iq);
689 } 690 }
690 691
691 /* Cookie monster eats IQ stanzas; the prpl shouldn't keep processing */ 692 /* Cookie monster eats IQ stanzas; the prpl shouldn't keep processing */
692 return TRUE; 693 return TRUE;
693 } 694 }