Fix refleaks of ast_rtp_instance structures.
authorMark Michelson <mmichelson@digium.com>
Fri, 27 Sep 2013 14:35:12 +0000 (14:35 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 27 Sep 2013 14:35:12 +0000 (14:35 +0000)
commit212b6f668bc4a140adc56eac6aeebd4f9207dc1e
tree4bceac98cdd55f1014e32bfb201aa053ffb3d74d
parentb22612110ccbf3cacdc422c996bf94909085e927
Fix refleaks of ast_rtp_instance structures.

These refleaks were causing bridged calls not to close their RTP ports. Thus
a call would leave open 4 ports (RTP for party A, RTCP for party A, RTP for party
B, and RTCP for party B). This led to an eventual depletion of available RTP
ports.
........

Merged revisions 399924 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@399925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
bridges/bridge_native_rtp.c