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:
Anthony Minessale committed 2012-07-17 17:01:10 -05:00
1 parent 19b7e30eea
commit 223244d491
4 files changed
+58 -48

No files matched your search

+4 -4
View File
@@ -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);