# HG changeset patch # User Nathan Walp # Date 1063395048 0 # Node ID 8af705eb064e44c82f375084b4d887c2555e15d8 # Parent 5aeba37b303cc4e18868a592cd50c7a2d8e627ae [gaim-migrate @ 7358] this might fix a jabber segfault committer: Tailor Script diff -r 5aeba37b303c -r 8af705eb064e src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Fri Sep 12 19:04:52 2003 +0000 +++ b/src/protocols/jabber/jabber.c Fri Sep 12 19:30:48 2003 +0000 @@ -1538,7 +1538,6 @@ jc->state = JCS_ACTIVE; } else { /* no, we're not supposed to be. */ - g_free(msg); return; } } @@ -1581,7 +1580,7 @@ static void jabber_handlepresence(gjconn gjc, jpacket p) { - char *to, *from, *type; + char *from, *type; GaimBuddy *b = NULL; gaim_jid gjid; char *buddy; @@ -1593,7 +1592,6 @@ int priority = 0; struct jabber_buddy_data *jbd; - to = xmlnode_get_attrib(p->x, "to"); from = xmlnode_get_attrib(p->x, "from"); type = xmlnode_get_attrib(p->x, "type");