[mod_verto] Fix memory leak and a deadlock on verto endpoint interface in verto_outgoing_channel()

This commit is contained in:
Andrey Volk committed 2021-10-19 20:45:06 +03:00
1 parent 36ac71f621
commit c1b00d945b
1 file changed
+1 -1
+1 -1
View 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");