]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: Fix ICE candidates leak.
authorJoshua Colp <jcolp@digium.com>
Mon, 24 Jun 2019 10:08:06 +0000 (10:08 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 24 Jun 2019 10:08:06 +0000 (10:08 +0000)
commit9721f3908d4c4e36954b98f826dce7d98d7cf616
tree50b8a3d6f08034d25850fdfca96c4555ec6d5e26
parentf22dedc597f6071abd0b8724050433238ea7409c
res_pjsip_sdp_rtp: Fix ICE candidates leak.

Given the non-default configuration of enabling ICE support on an
endpoint that does not result in an ICE negotiation occurring the
ICE candidates would be leaked.

This change makes it so that the ICE candidates are only retrieved
if ICE negotiation is occurring.

ASTERISK-28460

Change-Id: I7b3f76f031c41fb8a3dc3ef1a84b77e2a8cb969f
res/res_pjsip_sdp_rtp.c