Revision 432834 introduced a build error when MALLOC_DEBUG
is used. Switch callid threadstorage to simple
AST_THREADSTORAGE since we no longer need custom cleanup.
Reported by: Corey Farrell
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432851
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
static volatile int next_unique_callid = 1; /* Used to assign unique call_ids to calls */
static int display_callids;
-AST_THREADSTORAGE_CUSTOM(unique_callid, NULL, ast_free);
+AST_THREADSTORAGE(unique_callid);
static enum rotatestrategy {
NONE = 0, /* Do not rotate log files at all, instead rely on external mechanisms */