From d03fc23426ce4264b8a0c69d79381a12e55310ff Mon Sep 17 00:00:00 2001 From: Rytis Kymantas Date: Thu, 23 Jul 2020 11:40:25 +0300 Subject: [PATCH] Fix memory leak in sdp-utils.c (#2294) --- sdp-utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sdp-utils.c b/sdp-utils.c index 0fd20f45498..d4177252cb8 100644 --- a/sdp-utils.c +++ b/sdp-utils.c @@ -1599,6 +1599,7 @@ int janus_sdp_generate_offer_mline(janus_sdp *offer, ...) { } iter = iter->next; } + g_list_free(ids); } /* Check if there's a custom fmtp line to add */ if(type == JANUS_SDP_AUDIO && fmtp != NULL) {