]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice. 83/4083/2
authorAlexei Gradinari <alex2grad@gmail.com>
Tue, 19 Jul 2016 20:22:39 +0000 (16:22 -0400)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 13 Oct 2016 15:35:38 +0000 (10:35 -0500)
commit7baedd9ecd3cd4f3d1463f3e6f0f694bd56237d7
treecff570f8d90fe4afaa1663c5bab018ebbfd611b6
parenta8e37c3d06f9b4dbede3e98dbad29ffe17b2f273
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