[asterisk-dev] [Code Review] 3737: Media Formats: Fix leak on translation path calculation

opticron reviewboard at asterisk.org
Thu Jul 10 11:56:37 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3737/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-23960
    https://issues.asterisk.org/jira/browse/ASTERISK-23960


Repository: Asterisk


Description
-------

Ensure that inputs to ast_translator_best_choice are handled consistently so that references held in output variables are handled properly in all locations.


Diffs
-----

  team/group/media_formats-reviewed-trunk/main/translate.c 418346 

Diff: https://reviewboard.asterisk.org/r/3737/diff/


Testing
-------

Verified that repeated Playback()s in the dialplan no longer incremented the format's refcount.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140710/35690d84/attachment-0001.html>


More information about the asterisk-dev mailing list