mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-28 05:28:10 +00:00
core: Remove ABI effects of MALLOC_DEBUG.
This allows asterisk to be compiled with MALLOC_DEBUG to load modules built without MALLOC_DEBUG. Now pre-compiled third-party modules will still work regardless of MALLOC_DEBUG being enabled or not. Change-Id: Ic07ad80b2c2df894db984cf27b16a69383ce0e10
This commit is contained in:
@@ -228,11 +228,11 @@ struct ast_string_field_mgr {
|
||||
ast_string_field last_alloc; /*!< the last field allocated */
|
||||
struct ast_string_field_pool *embedded_pool; /*!< pointer to the embedded pool, if any */
|
||||
struct ast_string_field_vector string_fields; /*!< field vector for compare and copy */
|
||||
#if defined(__AST_DEBUG_MALLOC)
|
||||
/* v-- MALLOC_DEBUG information */
|
||||
const char *owner_file; /*!< filename of owner */
|
||||
const char *owner_func; /*!< function name of owner */
|
||||
int owner_line; /*!< line number of owner */
|
||||
#endif
|
||||
/* ^-- MALLOC_DEBUG information */
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user