From 4209680877731e800e64118eb3fc95d673282aa8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 5 May 2009 22:15:52 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/sofia.c | 4 ++++ 1 file changed, 4 insertions(+) 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); }