summaryrefslogtreecommitdiff
path: root/pjsip-apps/src
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src')
-rw-r--r--pjsip-apps/src/pjsua/pjsua_app.c1
-rw-r--r--pjsip-apps/src/samples/pjsip-perf.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c
index 268eb502..28bbb427 100644
--- a/pjsip-apps/src/pjsua/pjsua_app.c
+++ b/pjsip-apps/src/pjsua/pjsua_app.c
@@ -1762,7 +1762,6 @@ static void send_request(char *cstr_method, const pj_str_t *dst_uri)
status = pjsip_endpt_send_request(endpt, tdata, -1, NULL, NULL);
if (status != PJ_SUCCESS) {
pjsua_perror(THIS_FILE, "Unable to send request", status);
- pjsip_tx_data_dec_ref(tdata);
return;
}
}
diff --git a/pjsip-apps/src/samples/pjsip-perf.c b/pjsip-apps/src/samples/pjsip-perf.c
index c53a337b..e9d5f2f5 100644
--- a/pjsip-apps/src/samples/pjsip-perf.c
+++ b/pjsip-apps/src/samples/pjsip-perf.c
@@ -1402,7 +1402,8 @@ static pj_status_t submit_job(void)
app_perror(THIS_FILE, "Error sending stateful request", status);
//should have been reported by tsx_completion_cb().
//report_completion(701);
- pjsip_tx_data_dec_ref(tdata);
+ //No longer necessary (r777)
+ //pjsip_tx_data_dec_ref(tdata);
}
return status;
}