]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5948 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 7 Nov 2013 22:53:12 +0000 (03:53 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 7 Nov 2013 22:53:12 +0000 (03:53 +0500)
src/mod/endpoints/mod_sofia/sofia.c

index 0a98cbf9830eb9d27b67118ec790848866b9ac79..527de9b8fb1672c179d658741bb59977d9afbc5d 100644 (file)
@@ -1492,8 +1492,8 @@ static void our_sofia_event_callback(nua_event_t event,
                                
 
                                sofia_reg_check_socket(profile, sofia_private->call_id, sofia_private->network_ip, sofia_private->network_port);
+                               nua_handle_destroy(nh);
                        }
-                       nua_handle_destroy(nh);
                }
                break;
        case nua_r_authenticate: