From 59e4db0e961ab6fa4bf1e3af8201b13c54357d8c Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sun, 13 Jan 2013 00:06:50 +0200 Subject: [PATCH] don't release room and nick when parsing failed --- src/jabber.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/jabber.c b/src/jabber.c index 047c77e3..a062ca27 100644 --- a/src/jabber.c +++ b/src/jabber.c @@ -569,9 +569,6 @@ _groupchat_message_handler(xmpp_stanza_t * const stanza) // room jid not of form room/nick if (!parse_room_jid(room_jid, &room, &nick)) { log_error("Could not parse room jid: %s", room_jid); - g_free(room); - g_free(nick); - return 1; }