fix evil send myself a refer bug FSCORE-350

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13237 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-05-05 22:15:52 +00:00
parent e4e64147fd
commit 4209680877
1 changed files with 4 additions and 0 deletions

View File

@ -554,6 +554,10 @@ void sofia_event_callback(nua_event_t event,
}
if (sofia_private && sofia_private->destroy_me) {
if (tech_pvt) {
tech_pvt->sofia_private = NULL;
}
if (nh) {
nua_handle_bind(nh, NULL);
}