mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
res_pjsip: Fix tdata leaks in off nominal paths.
Change-Id: Ie83e06e88c2d60157775263b07e40b61718ac97b
This commit is contained in:
@@ -3555,6 +3555,7 @@ static pj_status_t endpt_send_request(struct ast_sip_endpoint *endpoint,
|
||||
pj_strbuf(&tdata->msg->line.req.method.name),
|
||||
endpoint ? ast_sorcery_object_get_id(endpoint) : "<unknown>");
|
||||
ao2_t_ref(req_wrapper, -2, "Drop timer and routine ref");
|
||||
pjsip_tx_data_dec_ref(tdata);
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user