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:
parent
d4afcd3258
commit
4d0566b5d1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user