]> git.ipfire.org Git - thirdparty/asterisk.git/commit
location.c: Misc fixes and cleanups. 85/3485/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:12:48 +0000 (12:12 -0500)
commit73052e573219725eb437cdd56c6f9d21c84a0f6f
treea9d1d3fb262b8657f3e08b54a367c169dbd917ef
parent1a3cc843718a35eb69168304c54ec9e7caec6ffd
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