summaryrefslogtreecommitdiff
path: root/main/astmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/astmm.c')
-rw-r--r--main/astmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/astmm.c b/main/astmm.c
index 6143280d6..5812174d5 100644
--- a/main/astmm.c
+++ b/main/astmm.c
@@ -1493,7 +1493,7 @@ void __ast_mm_init_phase_2(void)
ast_log(LOG_ERROR, "Could not open malloc debug log file: %s\n", filename);
}
- ast_register_atexit(mm_atexit_ast);
+ ast_register_cleanup(mm_atexit_ast);
}
#endif /* defined(__AST_DEBUG_MALLOC) */