fix leak of nua handle due to reference counting that must be between 3 to 7 years old. Effects all calls with auth/challenge on INVITE

This commit is contained in:
Anthony Minessale 2014-10-13 18:06:32 -05:00
parent e245e90761
commit cff5209ca3
1 changed files with 2 additions and 0 deletions

View File

@ -8999,6 +8999,8 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
switch_xml_free(x_user);
}
nua_handle_destroy(nh);
if (sip->sip_authorization || sip->sip_proxy_authorization) {
goto fail;
}