]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_send_to_voicemail.c: Fix off-nominal double channel unref. 23/2323/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:08:26 +0000 (20:08 -0600)
commit4c5998ff556eed8e9cb266de86c83cde95b103aa
treeaf354dc54e6dc2e3ac2af017c80d0b9a43a0d158
parentd1495bc0ebed86d322488bed647b43aba0ae9b1f
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