Skip to content
Snippets Groups Projects
Commit b89ecf24 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Optimize frame cache by realloc'ing the smallest frame when the cache is full.

This ensures that we don't just keep a cache of tiny frames, continually doing
an alloc/free for each data frame, thus negating the point of having a cache.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 8adc6fb4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment