mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
Merge "res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice." into 13
This commit is contained in:
@@ -2271,7 +2271,7 @@ static int send_notify(struct sip_subscription_tree *sub_tree, unsigned int forc
|
||||
}
|
||||
|
||||
if (sip_subscription_send_request(sub_tree, tdata)) {
|
||||
pjsip_tx_data_dec_ref(tdata);
|
||||
/* do not call pjsip_tx_data_dec_ref(tdata). The pjsip_dlg_send_request deletes the message on error */
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user