diff src/protocols/jabber/buddy.c @ 7306:7c12dab8e513

[gaim-migrate @ 7890] this should implement the full nodeprep, nameprep, and resourceprep string profiles, so we compare JIDs correctly committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 20 Oct 2003 20:41:42 +0000
parents dee9f6aebbf3
children b250288fa948
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c	Mon Oct 20 05:08:05 2003 +0000
+++ b/src/protocols/jabber/buddy.c	Mon Oct 20 20:41:42 2003 +0000
@@ -537,7 +537,7 @@
 	JabberBuddy *jb;
 	JabberBuddyResource *jbr;
 	GString *info_text;
-	const char *resource_name;
+	char *resource_name;
 	char *title;
 	xmlnode *vcard;
 
@@ -587,6 +587,8 @@
 		}
 	}
 
+	g_free(resource_name);
+
 	if((vcard = xmlnode_get_child(packet, "vCard"))) {
 		xmlnode *child;
 		for(child = vcard->child; child; child = child->next)