]> git.ipfire.org Git - thirdparty/asterisk.git/commit
astobj2: Correct REF_DEBUG false leak report
authorCorey Farrell <git@cfware.com>
Tue, 7 Oct 2014 21:30:07 +0000 (21:30 +0000)
committerCorey Farrell <git@cfware.com>
Tue, 7 Oct 2014 21:30:07 +0000 (21:30 +0000)
commit5454c620e0c8d642898005ba2ca61d95bf8d9ba5
tree3d683876b3e350c0853448b42e3b683c0586bd1e
parent478e64f1e435f722b01278b307b5e7c09662a877
astobj2: Correct REF_DEBUG false leak report

When ao2_callback is run with OBJ_MULTIPLE and not OBJ_NODATA
it allocates a temporary container in a way that does not
record REF_DEBUG log entries.  This changes that container
to correctly record unref's when the container is freed.

ASTERISK-24390 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4047/
........

Merged revisions 424786 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@424787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/astobj2.c