]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_send_to_voicemail.c: Fix off-nominal double channel unref. 24/2324/1
authorRichard Mudgett <rmudgett@digium.com>
Tue, 1 Mar 2016 02:41:55 +0000 (20:41 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 2 Mar 2016 02:09:32 +0000 (20:09 -0600)
commit75ec137e91d60795f8c85ab42ed134dd0bc07129
tree50272492ac0bc50936d65a92279fe84014e3afc3
parentd0b26c3133e831e915990fd806257d9ef07c508b
res_pjsip_send_to_voicemail.c: Fix off-nominal double channel unref.

* Fix double unref of other_party channel in off nominal path.

* This is unlikely to be a real problem.  However, for safety,
in handle_incoming_request() keep the datastore ref with the
other_party channel ref until we are finished with the other_party
channel.

Change-Id: I78f22547bf0bb99fb20814ceab75952bd857f821
res/res_pjsip_send_to_voicemail.c