summaryrefslogtreecommitdiff
path: root/main/astmm.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-11-06 19:51:37 +0000
committerRussell Bryant <russell@russellbryant.com>2007-11-06 19:51:37 +0000
commit5ab1541da96348a2e8ec2dc5d91682a8da4f8209 (patch)
tree4d1237d665c4abbf3b28d90522d028d5b56eb6fb /main/astmm.c
parent117d3d834eb0d3a56badf44c8ab880387f06f96c (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: https://origsvn.digium.com/svn/asterisk/trunk@89052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 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;
}