[asterisk-commits] russell: trunk r43375 - /trunk/main/astmm.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Sep 20 14:42:58 MST 2006
Author: russell
Date: Wed Sep 20 16:42:57 2006
New Revision: 43375
URL: http://svn.digium.com/view/asterisk?rev=43375&view=rev
Log:
Fix the memory summary so that it doesn't print the first file in the list over
and over again.
Modified:
trunk/main/astmm.c
Modified: trunk/main/astmm.c
URL: http://svn.digium.com/view/asterisk/trunk/main/astmm.c?rev=43375&r1=43374&r2=43375&view=diff
==============================================================================
--- trunk/main/astmm.c (original)
+++ trunk/main/astmm.c Wed Sep 20 16:42:57 2006
@@ -382,10 +382,10 @@
count += list->count;
if (fn) {
ast_cli(fd, "%10d bytes in %5d allocations in function '%s' of '%s'\n",
- list->len, list->count, list->fn, fn);
+ cur->len, cur->count, cur->fn, fn);
} else {
ast_cli(fd, "%10d bytes in %5d allocations in file '%s'\n",
- list->len, list->count, list->fn);
+ cur->len, cur->count, cur->fn);
}
}
More information about the asterisk-commits
mailing list