[asterisk-bugs] [JIRA] (ASTERISK-22565) [patch] res_rtp_asterisk leaks reference to rtcp_report in ast_rtcp_read

Digium Subversion (JIRA) noreply at issues.asterisk.org
Sat Sep 21 00:01:03 CDT 2013


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

Digium Subversion closed ASTERISK-22565.
----------------------------------------

    Resolution: Fixed
    
> [patch] res_rtp_asterisk leaks reference to rtcp_report in ast_rtcp_read
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-22565
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22565
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: SVN, 12.0.0-alpha2
>            Reporter: Corey Farrell
>         Attachments: rtcp_report-leak.patch
>
>
> Found leak of rtcp_report found by valgrind and REF_DEBUG.  Also seems possible for message_blob to leak in the same way.
> Moved rtcp_report RAII_VAR declaration into the loop so it is unref'ed after every loop.  Moved message_blob to loop and switched it to a regular variable.  The regular variable was used since message_blob is used in a very contained way.
> Patch applies to 12 and trunk.  Tested a call with trunk (using chan_sip), verified the leak no longer occurs.

--
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