[asterisk-commits] russell: trunk r89052 - /trunk/main/astmm.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 6 13:51:37 CST 2007
Author: russell
Date: Tue Nov 6 13:51:37 2007
New Revision: 89052
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89052
Log:
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.
Modified:
trunk/main/astmm.c
Modified: trunk/main/astmm.c
URL: http://svn.digium.com/view/asterisk/trunk/main/astmm.c?view=diff&rev=89052&r1=89051&r2=89052
==============================================================================
--- trunk/main/astmm.c (original)
+++ trunk/main/astmm.c Tue Nov 6 13:51:37 2007
@@ -323,7 +323,7 @@
"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;
}
More information about the asterisk-commits
mailing list