[asterisk-dev] [Code Review] 3746: media formats: Fix double unref on full cache
opticron
reviewboard at asterisk.org
Fri Jul 11 14:30:34 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3746/
-----------------------------------------------------------
Review request for Asterisk Developers, Corey Farrell and Matt Jordan.
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/1294022f/attachment-0001.html>
More information about the asterisk-dev
mailing list