]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip res_pjsip_mwi: Misc fixes and cleanups. 89/3489/1
authorRichard Mudgett <rmudgett@digium.com>
Mon, 1 Aug 2016 20:07:30 +0000 (15:07 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 11 Aug 2016 17:17:34 +0000 (12:17 -0500)
commit63863ed0f3c030e2331eaf502701b4549c95f9e6
treeea7a2492798b9312d9ff0a8d352c44b5aa80f3c1
parentb08497c04847014bf4def77d20f49782acc53893
res_pjsip res_pjsip_mwi: Misc fixes and cleanups.

* Eliminated RAII_VAR() usage in
ast_sip_persistent_endpoint_update_state().

* Added a missing allocation failure check to
persistent_endpoint_find_or_create().

* Made persistent_endpoint_find_or_create() create the new object without
a lock as it isn't needed.

* Cleaned up some ao2 container allocation idioms.

* Reordered res_pjsip_mwi.c load_module() and unload_module()

Change-Id: If8ce88fbd82a0c72a37a2388f74f77237a6a36a8
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_mwi.c