]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix leak of nua handle due to reference counting that must be between 3 to 7 years...
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 13 Oct 2014 23:06:32 +0000 (18:06 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 13 Oct 2014 23:07:00 +0000 (18:07 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 6040ec00568400e01605f06cd8d9bc36b2dae9ad..9f833c0373833303af6ea0d5fd909964accea906 100644 (file)
@@ -8123,6 +8123,8 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
                                        switch_xml_free(x_user);
                                }
 
+                               nua_handle_destroy(nh);
+                               
                                if (sip->sip_authorization || sip->sip_proxy_authorization) {
                                        goto fail;
                                }