aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 19:51:37 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 19:51:37 +0000
commitb8fd607d04b69487e15c4b2df9f6e1627d92cf98 (patch)
tree4d1237d665c4abbf3b28d90522d028d5b56eb6fb /main
parentf258e584447d8830fd45677b204c5e8953ea0867 (diff)
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
Diffstat (limited to 'main')
-rw-r--r--main/astmm.c2
1 files changed, 1 insertions, 1 deletions
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 [<file>]\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;
}