projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117d3d8
)
Fix the memory show allocations CLI command so that it doesn't spew out all
author
Russell Bryant
<russell@russellbryant.com>
Tue, 6 Nov 2007 19:51:37 +0000
(19:51 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Tue, 6 Nov 2007 19:51:37 +0000
(19:51 +0000)
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
main/astmm.c
patch
|
blob
|
history
diff --git
a/main/astmm.c
b/main/astmm.c
index
1eee41d
..
099f125
100644
(file)
--- 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;
}