From 076cbdf8fa706de49e107257af1d34267ac3b313 Mon Sep 17 00:00:00 2001 From: Joseph Mastrogiulio Date: Thu, 26 Sep 2024 10:31:24 -0400 Subject: [PATCH] [src] This commit fixes a leak in switch_msrp.c \o/ --- src/switch_msrp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_msrp.c b/src/switch_msrp.c index b76a043261..b909ed50fd 100644 --- a/src/switch_msrp.c +++ b/src/switch_msrp.c @@ -1264,6 +1264,7 @@ static void *SWITCH_THREAD_FUNC msrp_worker(switch_thread_t *thread, void *obj) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "MSRP_METHOD_AUTH\n"); } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Parse initial message error!\n"); + switch_msrp_msg_destroy(&msrp_msg); goto end; }