summaryrefslogtreecommitdiff
path: root/main/logger.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-03-13 02:10:17 +0000
committerCorey Farrell <git@cfware.com>2015-03-13 02:10:17 +0000
commitf2c21ead1f7ad3a47c5ec396778c7700bf19139e (patch)
treeb2122525381071a8aa4f64a2ba3ef9b10679d889 /main/logger.c
parentc08fd275bf8c45dc09084f104521cbff04eab25b (diff)
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
Diffstat (limited to 'main/logger.c')
-rw-r--r--main/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/logger.c b/main/logger.c
index ad489f492..2f69b1ab0 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -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 */