Logger: Fix MALLOC_DEBUG build error.

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
This commit is contained in:
Corey Farrell
2015-03-13 02:10:17 +00:00
parent c08fd275bf
commit f2c21ead1f

View File

@@ -85,7 +85,7 @@ static int logger_initialized;
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 */