1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-30 21:55:24 +00:00

Fixed memleak in _available_handler

This commit is contained in:
James Booth 2014-06-15 20:39:50 +01:00
parent d4afcd3258
commit 4d0566b5d1

View File

@ -545,6 +545,7 @@ _available_handler(xmpp_conn_t * const conn,
if (priority_str != NULL) {
priority = atoi(priority_str);
}
free(priority_str);
}
resource_presence_t presence = resource_presence_from_string(show_str);