[src] This commit fixes a leak in switch_msrp.c \o/

This commit is contained in:
Joseph Mastrogiulio 2024-09-26 10:31:24 -04:00
parent f5a2a59758
commit 076cbdf8fa
1 changed files with 1 additions and 0 deletions

View File

@ -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"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "MSRP_METHOD_AUTH\n");
} else { } else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Parse initial message error!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Parse initial message error!\n");
switch_msrp_msg_destroy(&msrp_msg);
goto end; goto end;
} }