[asterisk-dev] [Code Review] 3746: media formats: Fix double unref on full cache

opticron reviewboard at asterisk.org
Fri Jul 11 16:01:55 CDT 2014


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

(Updated July 11, 2014, 4:01 p.m.)


Status
------

This change has been marked as submitted.


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


Changes
-------

Committed in revision 418395


Repository: Asterisk


Description
-------

If the frame cache on a thread is full, the format on a frame will be double-unreffed. This fixes the double-unref by making sure the first unref only occurs if the frame actually goes into the TLS frame cache.


Diffs
-----

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

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


Testing
-------

Moved on to the next crash.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140711/75e091da/attachment.html>


More information about the asterisk-dev mailing list