mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
FS-4435 looks ok at a glance, at least this code is isolated to the small few who actually use it so i will put it in for testing
This commit is contained in:
1 parent
19b7e30eea
commit
223244d491
4 files changed
+58
-48
No files matched your search
@@ -3979,10 +3979,10 @@ void sofia_presence_handle_sip_r_subscribe(int status,
|
||||
gw_sub_ptr->state = SUB_STATE_FAILED;
|
||||
|
||||
if (sofia_private) {
|
||||
if (sofia_private->gateway->sub_nh) {
|
||||
nua_handle_bind(sofia_private->gateway->sub_nh, NULL);
|
||||
nua_handle_destroy(sofia_private->gateway->sub_nh);
|
||||
sofia_private->gateway->sub_nh = NULL;
|
||||
if (gw_sub_ptr->nh) {
|
||||
nua_handle_bind(gw_sub_ptr->nh, NULL);
|
||||
nua_handle_destroy(gw_sub_ptr->nh);
|
||||
gw_sub_ptr->nh = NULL;
|
||||
}
|
||||
} else {
|
||||
nua_handle_destroy(nh);
|
||||
|
||||
Reference in new issue
Block a user