1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

don't release room and nick when parsing failed

This commit is contained in:
Dmitry Podgorny 2013-01-13 00:06:50 +02:00
parent 492a333294
commit 59e4db0e96

View File

@ -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;
}