]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix evil send myself a refer bug FSCORE-350
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 5 May 2009 22:15:52 +0000 (22:15 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 5 May 2009 22:15:52 +0000 (22:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13237 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 901bddf0d4d663ca5bfcf7aff49198bd6dbd2a10..abefb6954ab11da236653ac252b0321cf691f1e7 100644 (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);
                }