mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 08:11:21 +00:00
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/ ........ Merged revisions 352955 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 352956 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -176,7 +176,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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user