[asterisk-bugs] [JIRA] (ASTERISK-22126) Bridging: Memory leak for channels that hang up if they were in the bridging system

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat Jul 20 17:56:03 CDT 2013


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

Matt Jordan updated ASTERISK-22126:
-----------------------------------

    Status: Open  (was: Triage)
    
> Bridging: Memory leak for channels that hang up if they were in the bridging system
> -----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22126
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22126
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Bridging
>    Affects Versions: SVN, 12
>            Reporter: Jonathan Rose
>
> What's leaking:
>        728 bytes in          7 allocations by ast_channel_get_manager_vars() line  7506 of channel.c
>        728 bytes in          7 allocations by ast_channel_get_vars() line  7480 of channel.
> 7506: ret = ao2_alloc(sizeof(*ret), varshead_dtor);
> 7480: ret = ao2_alloc(sizeof(*ret), varshead_dtor);
> Reproduction:
> If a channel ever enters the bridging system, these two allocations will be leaked when the channel dies.
> Easiest way to reproduce this is by calling bridgewait() on a channel.
> Another easy method to reproduce this is to just have one device do a simple call to another.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list