From: Anthony Minessale Date: Tue, 5 May 2009 22:15:52 +0000 (+0000) Subject: fix evil send myself a refer bug FSCORE-350 X-Git-Tag: v1.0.4~964 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4209680877731e800e64118eb3fc95d673282aa8;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 901bddf0d4..abefb6954a 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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); }