From e1075b0ee395e5ef4a3d1194a7134a0a28c123df Mon Sep 17 00:00:00 2001 From: Ajay Sabat Date: Sat, 11 Nov 2023 08:51:47 -0800 Subject: [PATCH] [mod_verto] addressed review comments --- src/mod/endpoints/mod_verto/mod_verto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index e98a369874..268e941eea 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -1795,6 +1795,7 @@ new_req: if ((len = kws_raw_read(jsock->ws, buffer + bytes, len, WS_BLOCK)) < 0) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Read error %" SWITCH_SSIZE_T_FMT"\n", len); + free(buffer); goto done; }