diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-04-21 12:07:39 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-04-21 14:06:45 -0500 |
commit | 80fd7fd9086d1454e13624102961d9cd5c7d8651 (patch) | |
tree | 24389816055c2c522e68d431491a51019d7aaf6b /addons | |
parent | 5860ad3ee808a900fbedae64a31921f979ddce73 (diff) |
res_pjsip_session.c: Restructure ast_sip_session_alloc()
* Restructure ast_sip_session_alloc() to need less cleanup on off nominal
error paths.
* Made ast_sip_session_alloc() and ast_sip_session_create_outgoing() avoid
unnecessary ref manipulation to return a session. This is faster than
calling a function. That function may do logging of the ref changes with
REF_DEBUG enabled.
Change-Id: I2a0affc4be51013d3f0485782c96b8fee3ddb00a
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions