]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_verto] Fix memory leak and a deadlock on verto endpoint interface in verto_outgo...
authorAndrey Volk <andywolk@gmail.com>
Tue, 6 Apr 2021 18:31:44 +0000 (21:31 +0300)
committerAndrey Volk <andywolk@gmail.com>
Tue, 19 Oct 2021 17:45:06 +0000 (20:45 +0300)
src/mod/endpoints/mod_verto/mod_verto.c

index 342ed8b26e5e061f7d7e41826930890d9841cdf2..dba9d632080a6f7fe26915e70f4c563aea0023eb 100644 (file)
@@ -5496,7 +5496,7 @@ static switch_call_cause_t verto_outgoing_channel(switch_core_session_t *session
                        free(dial_str);
                }
 
-               return cause;
+               goto end;
        } else {
                const char *dialed_user = switch_event_get_header(var_event, "dialed_user");
                const char *dialed_domain = switch_event_get_header(var_event, "dialed_domain");