[asterisk-dev] [Code Review] 3738: main/frame: Only unref formats on non-static frames

opticron reviewboard at asterisk.org
Thu Jul 10 12:43:49 CDT 2014


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

Review request for Asterisk Developers, Corey Farrell, Joshua Colp, and Matt Jordan.


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


Repository: Asterisk


Description
-------

The format on the frame was being unreffed on static frames that had not bumped the ref resulting in a crash when compiled with the DO_CRASH flag due to the refcount on the format going negative.


Diffs
-----

  team/group/media_formats-reviewed-trunk/main/frame.c 418253 

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


Testing
-------

Ensured that the crash was resolved.


Thanks,

opticron

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


More information about the asterisk-dev mailing list