[asterisk-bugs] [JIRA] (ASTERISK-24390) astobj2: REF_DEBUG reports false leaks with ao2_callback with OBJ_MULTIPLE

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sun Oct 5 07:45:29 CDT 2014


Corey Farrell created ASTERISK-24390:
----------------------------------------

             Summary: astobj2: REF_DEBUG reports false leaks with ao2_callback with OBJ_MULTIPLE
                 Key: ASTERISK-24390
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24390
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/AstMM
    Affects Versions: 11.13.0, 1.8.31.0
            Reporter: Corey Farrell
            Severity: Minor


When ao2_callback is run with OBJ_MULTIPLE and not OBJ_NODATA it allocates a temporary container.  When this container is destroyed it does not record unref's to the refs log.  This causes refcounter.py to incorrectly flag the object as leaked.

It appears this issue was fixed in 12+.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list