From 68abab77d630d24cfcfb6fdc356671e963aa1c78 Mon Sep 17 00:00:00 2001 From: Archit Jain <54016441+Architjain128@users.noreply.github.com> Date: Sat, 23 Dec 2023 02:21:08 +0530 Subject: [PATCH] freed re after its use at switch_regex_perform in mod_verto.c --- src/mod/endpoints/mod_verto/mod_verto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index ac042fe626..799a8f37d6 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -1898,6 +1898,8 @@ authed: rule = rule->next; } + + switch_safe_free(re); } switch_event_add_header_string(stream.param_event, SWITCH_STACK_BOTTOM, "HTTP-URI", request->uri);