]> git.ipfire.org Git - thirdparty/asterisk.git/commit
location.c: Misc fixes and cleanups. 86/3486/1
authorRichard Mudgett <rmudgett@digium.com>
Thu, 4 Aug 2016 23:03:56 +0000 (18:03 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 11 Aug 2016 17:13:41 +0000 (12:13 -0500)
commitab45dfaeb96853ed71eb96f7afd607d930772336
treea19ee1ae0048f8d461484ba4ae68ea501f032284
parentb08497c04847014bf4def77d20f49782acc53893
location.c: Misc fixes and cleanups.

* Eliminated most RAII_VAR() usage.

* Added several missing allocation failure checks.

* Made ast_sip_for_each_contact() allocate the wrapper ao2 object without
a lock as it is not needed.

Change-Id: Ie20913365156c95dd79e5d471cfd25e99ae880bc
res/res_pjsip/location.c