Mon, 13 Jul 2009 18:44:28 +0000
Break the 'if' onto two lines and don't bother calling jabber_id_free()
if jid is null
| libpurple/protocols/jabber/message.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/jabber/message.c Mon Jul 13 17:01:52 2009 +0000 +++ b/libpurple/protocols/jabber/message.c Mon Jul 13 18:44:28 2009 +0000 @@ -644,10 +644,10 @@ if (jid) { chat = jabber_chat_find(js, jid->node, jid->domain); - if (chat) conv = chat->conv; + if (chat) + conv = chat->conv; + jabber_id_free(jid); } - - jabber_id_free(jid); } else if (jm->type == JABBER_MESSAGE_NORMAL || jm->type == JABBER_MESSAGE_CHAT) { conv =