mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 05:56:21 +00:00
Fixed memleak in _available_handler
This commit is contained in:
@@ -545,6 +545,7 @@ _available_handler(xmpp_conn_t * const conn,
|
|||||||
if (priority_str != NULL) {
|
if (priority_str != NULL) {
|
||||||
priority = atoi(priority_str);
|
priority = atoi(priority_str);
|
||||||
}
|
}
|
||||||
|
free(priority_str);
|
||||||
}
|
}
|
||||||
|
|
||||||
resource_presence_t presence = resource_presence_from_string(show_str);
|
resource_presence_t presence = resource_presence_from_string(show_str);
|
||||||
|
|||||||
Reference in New Issue
Block a user