fix some breakage from the CLI command changes
[asterisk/asterisk.git] / main / astmm.c
index 990fe26..45e9006 100644 (file)
@@ -417,11 +417,11 @@ static struct ast_cli_entry cli_show_memory_summary_deprecated = {
 static struct ast_cli_entry cli_memory[] = {
        { { "memory", "show", "allocations", NULL },
        handle_show_memory, "Display outstanding memory allocations",
-       show_memory_help, NULL, &cli_show_memory_allocations },
+       show_memory_help, NULL, &cli_show_memory_allocations_deprecated },
 
        { { "memory", "show", "summary", NULL },
        handle_show_memory_summary, "Summarize outstanding memory allocations",
-       show_memory_summary_help, NULL, &cli_show_memory_summary },
+       show_memory_summary_help, NULL, &cli_show_memory_summary_deprecated },
 };
 
 void __ast_mm_init(void)