Files
asterisk/main
Sean Bright ba6201cae6 Fix ao2_callback when both OBJ_MULTIPLE and OBJ_NODATA are passed.
There is an issue which only affects trunk and the new ao2_callback OBJ_MULTIPLE
implementation.  When both OBJ_MULTIPLE and OBJ_NODATA are passed, only the first
object is visited, regardless of what is returned by the specified callback. This
causes a problem when we are clearing a container, i.e.:

    ao2_callback(container, OBJ_UNLINK | OBJ_NODATA | OBJ_MULTIPLE, NULL, NULL);

Only unlinks the first object.  This patch resolves this.

(closes issue #16564)
Reported by: pj
Patches:
      issue16564_20100111.diff uploaded by seanbright (license 71)
Tested by: pj, seanbright

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-11 16:40:23 +00:00
..
2009-04-20 22:10:25 +00:00
2009-03-04 20:48:42 +00:00
2009-06-25 21:45:32 +00:00
2010-01-08 19:39:30 +00:00
2009-12-01 20:27:37 +00:00
2009-09-29 21:28:04 +00:00
2009-12-30 20:34:41 +00:00
2009-08-10 19:20:57 +00:00
2009-08-10 19:20:57 +00:00
2009-11-02 20:43:52 +00:00
2009-03-18 02:28:55 +00:00
2009-11-03 19:59:46 +00:00
2009-04-29 18:53:01 +00:00
2010-01-11 16:22:09 +00:00