diff options
author | Joshua Colp <jcolp@digium.com> | 2016-07-22 04:51:12 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-07-22 04:51:12 -0500 |
commit | fd87c7a70c2584d6f6a27f7a036dbb5637a68661 (patch) | |
tree | d6f09ee0413b6ae8d0a53fc4cdf9057a241ad1cc /res | |
parent | 075f7c4aea84c1680167cb17c474c4e1436bf251 (diff) | |
parent | 81ea024d939530b76abca07b37fda0b502d0786a (diff) |
Merge "res_pjsip_pubsub: fixed a bug when pjsip_tx_data_dec_ref is called twice."
Diffstat (limited to 'res')
-rw-r--r-- | res/res_pjsip_pubsub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c index 207fae04c..fe16c613a 100644 --- a/res/res_pjsip_pubsub.c +++ b/res/res_pjsip_pubsub.c @@ -2249,7 +2249,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; } |