# HG changeset patch # User Mark Doliner # Date 1247510668 0 # Node ID 459e179466863f4d65274943e4e04c8152a7df7e # Parent 6a4cab3959b7fa46e3637e3a11b6b2c39d507a78 Break the 'if' onto two lines and don't bother calling jabber_id_free() if jid is null diff -r 6a4cab3959b7 -r 459e17946686 libpurple/protocols/jabber/message.c --- 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 =