From 288ddcaae80acfc6e9693aa1846f407e99a53a4b 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 1aeabaa7bf..0c028ff628 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) {