From b8fd607d04b69487e15c4b2df9f6e1627d92cf98 Mon Sep 17 00:00:00 2001 From: russell Date: Tue, 6 Nov 2007 19:51:37 +0000 Subject: Fix the memory show allocations CLI command so that it doesn't spew out all of the current memory allocations when you start Asterisk, when the command's handler gets called for initialization. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89052 f38db490-d61c-443f-a65b-d21fe96a405b --- main/astmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/astmm.c') diff --git a/main/astmm.c b/main/astmm.c index 1eee41df9..099f12561 100644 --- a/main/astmm.c +++ b/main/astmm.c @@ -323,7 +323,7 @@ static char *handle_memory_show(struct ast_cli_entry *e, int cmd, struct ast_cli "Usage: memory show allocations []\n" " Dumps a list of all segments of allocated memory, optionally\n" " limited to those from a specific file\n"; - break; + return NULL; case CLI_GENERATE: return NULL; } -- cgit v1.2.3