]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice. 54/3254/5
authorAlexei Gradinari <alex2grad@gmail.com>
Tue, 19 Jul 2016 20:22:39 +0000 (16:22 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Thu, 21 Jul 2016 15:21:05 +0000 (11:21 -0400)
commit5997ec7c9e70f3b12afb948c421355fb87aed44e
tree29ce7c5e422d525d1095180061f1aa05acd70d18
parent962c7ef5d91c546794313e01b4c264efdf3d1ead
res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice.

This patch removed call of pjsip_tx_data_dec_ref in send_notify
if send_request failed.
The pjsip_dlg_send_request deletes the message on error by itself.

It seems this patch fixes next issues:
ASTERISK-26199
ASTERISK-26166
ASTERISK-26174

Change-Id: I8b05917c93d993f95d604c042ace5f1a5500f59a
res/res_pjsip_pubsub.c