ao2_iterator: Mini-audit of the ao2_iterator loops in the new code files.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 20 Dec 2013 20:00:50 +0000 (20:00 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 20 Dec 2013 20:00:50 +0000 (20:00 +0000)
commit72c282cc66d7e12cd17d0eee90e066d9ebfb1243
tree58107b777c3f75160878837662fbaf825163556b
parentc2fd2ac823d89283a0e9a0a9e8d36c92fba25c27
ao2_iterator: Mini-audit of the ao2_iterator loops in the new code files.

* Fixed several places where ao2_iterator_destroy() was not called.

* Fixed several iterator loop object variable reference problems.

* Fixed res_parking AMI actions returning non-zero.  Only the AMI logoff
action can return non-zero.

Review: https://reviewboard.asterisk.org/r/3087/
........

Merged revisions 404434 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/ari/resource_bridges.c
res/ari/resource_channels.c
res/ari/resource_endpoints.c
res/parking/parking_manager.c
res/res_pjsip/location.c
tests/test_cel.c
tests/test_scoped_lock.c
tests/test_stasis.c