Audit of ao2_iterator_init() usage for v1.8.

Fixes numerous reference leaks and missing ao2_iterator_destroy() calls as
a result.

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@352955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2012-01-27 18:22:39 +00:00
parent 4d2f8a9cfd
commit a55030f4fa
11 changed files with 89 additions and 55 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ int ast_tone_zone_count(void);
/*!
* \brief Get an iterator for the available tone zones
*
* Use ao2_iterator_next() to iterate the tone zones.
* \note Use ao2_iterator_next() to iterate the tone zones.
* \note Use ao2_iterator_destroy() to clean up.
*
* \return an initialized iterator
*/