aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/asterisk.c b/asterisk.c
index 5ee2a4f67..e083b4224 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -1341,6 +1341,9 @@ int main(int argc, char *argv[])
ast_verbose(term_color(tmp, "Asterisk Ready.\n", COLOR_BRWHITE, COLOR_BLACK, sizeof(tmp)));
fully_booted = 1;
pthread_sigmask(SIG_UNBLOCK, &sigs, NULL);
+#ifdef __AST_DEBUG_MALLOC
+ __ast_mm_init();
+#endif
ast_cli_register(&astshutdownnow);
ast_cli_register(&astshutdowngracefully);
ast_cli_register(&astrestartnow);