]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix an RTP instance reference count leak in chan_motif.
authorJoshua Colp <jcolp@digium.com>
Mon, 3 Dec 2012 14:54:54 +0000 (14:54 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 3 Dec 2012 14:54:54 +0000 (14:54 +0000)
commit5935aaa6ec80acabf7dd81e32918d10796ad39a1
tree62154271842d3c005e651a2bee059b7fd03661a8
parent1d83d32489a0ba8536a0017f6b9d82bb2485b681
Fix an RTP instance reference count leak in chan_motif.

When setting up an RTP instance the RTCP portion of the instance
keeps a reference to the instance itself. In order to release this
reference and stop RTCP the stop API call must be called before
destroying the instance.

(closes issue ASTERISK-20751)
Reported by: joshoa

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@377021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_motif.c