]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice. 92/3292/1
authorAlexei Gradinari <alex2grad@gmail.com>
Thu, 21 Jul 2016 15:28:36 +0000 (11:28 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Thu, 21 Jul 2016 22:40:18 +0000 (17:40 -0500)
commit56b41126593d5f57f76037fe4bd88f704bdacf04
treea670e0b8e350f46f3e93e53e47de0a9283e858a4
parent8551830abc4d52cb399e573db15681a6029922a5
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