mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 07:18:34 +00:00
FS-10387: [core] High memory usage with mod_sofia, osmo-nitb and DTX setting active #resolve
This commit is contained in:
1 parent
7c19615890
commit
e78f3f0c04
3 files changed
+22
-1
No files matched your search
@@ -190,8 +190,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_perform_get_partner(switch_c
|
||||
const char *file, const char *func, int line)
|
||||
{
|
||||
const char *uuid;
|
||||
char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];
|
||||
|
||||
if ((uuid = switch_channel_get_partner_uuid(session->channel))) {
|
||||
if ((uuid = switch_channel_get_partner_uuid_copy(session->channel, uuid_str, sizeof(uuid_str)))) {
|
||||
if ((*partner = switch_core_session_perform_locate(uuid, file, func, line))) {
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user