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:14:08 -0500 |
commit | 835c20944512db77f5366c4d9e3002b0dfdbd805 (patch) | |
tree | 376f6844ee1504ab910e22b910dd15121ae6eb96 /apps | |
parent | d373ebc428f23cb37dcbcafac37295f4be1e1a9e (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 'apps')
0 files changed, 0 insertions, 0 deletions