Author: coreyfarrell Date: Thu Mar 12 21:10:17 2015 New Revision: 432851 URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432851 Log: 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 Modified: trunk/main/logger.c Modified: trunk/main/logger.c URL: http://svnview.digium.com/svn/asterisk/trunk/main/logger.c?view=diff&rev=432851&r1=432850&r2=432851 ============================================================================== --- trunk/main/logger.c (original) +++ trunk/main/logger.c Thu Mar 12 21:10:17 2015 @@ -85,7 +85,7 @@ 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 */ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits