[asterisk-commits] russell: trunk r43384 - in /trunk: ./ main/astmm.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Sep 20 15:14:04 MST 2006


Author: russell
Date: Wed Sep 20 17:14:04 2006
New Revision: 43384

URL: http://svn.digium.com/view/asterisk?rev=43384&view=rev
Log:
Merged revisions 43383 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43383 | russell | 2006-09-20 18:13:16 -0400 (Wed, 20 Sep 2006) | 2 lines

Fix the total allocation count and total byte count in the memory summary

........

Modified:
    trunk/   (props changed)
    trunk/main/astmm.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-1.4-merged (original)
+++ branch-1.4-merged Wed Sep 20 17:14:04 2006
@@ -1,1 +1,1 @@
-/branches/1.4:1-43376
+/branches/1.4:1-43376,43383

Modified: trunk/main/astmm.c
URL: http://svn.digium.com/view/asterisk/trunk/main/astmm.c?rev=43384&r1=43383&r2=43384&view=diff
==============================================================================
--- trunk/main/astmm.c (original)
+++ trunk/main/astmm.c Wed Sep 20 17:14:04 2006
@@ -378,8 +378,8 @@
 	
 	/* Dump the whole list */
 	for (cur = list; cur; cur = cur->next) {
-		len += list->len;
-		count += list->count;
+		len += cur->len;
+		count += cur->count;
 		if (fn) {
 			ast_cli(fd, "%10d bytes in %5d allocations in function '%s' of '%s'\n", 
 				cur->len, cur->count, cur->fn, fn);



More information about the asterisk-commits mailing list