git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15369 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-11-05 07:06:19 +00:00
parent befbd6dd0c
commit d03862cf3c
1 changed files with 2 additions and 1 deletions

View File

@ -1386,7 +1386,8 @@ void sofia_reg_handle_sip_r_register(int status,
nua_handle_destroy(sofia_private->gateway->nh);
sofia_private->gateway->nh = NULL;
sofia_private->gateway->state = REG_STATE_UNREGED;
} else {
nua_handle_destroy(nh);
}
return;
}