mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
fix the crash that was caused by fixing the leak that was preventing the crash in the previous revision
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15115 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -5491,6 +5491,8 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
|
||||
}
|
||||
} else if (!strncasecmp(un->un_name, "History-Info", 12)) {
|
||||
switch_channel_set_variable(channel, "sip_history_info", un->un_value);
|
||||
} else if (!strcasecmp(un->un_name, "X-Actually-Supported")) {
|
||||
tech_pvt->x_actually_supported_remote = switch_core_session_strdup(session, un->un_value);
|
||||
} else if (!strncasecmp(un->un_name, "X-", 2) || !strncasecmp(un->un_name, "P-", 2)) {
|
||||
if (!switch_strlen_zero(un->un_value)) {
|
||||
char new_name[512] = "";
|
||||
|
||||
Reference in New Issue
Block a user