[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
Tue Oct 7 16:33:29 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell closed ASTERISK-24390.
------------------------------------


> 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: 1.8.31.0, 11.13.0
>            Reporter: Corey Farrell
>            Assignee: 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