0100,0100,0100 Suggestion for HEAD.
Modified Files:
Tag: akroonmaa-head
util.c
Log Message:
bug in util.c caused xmalloc_stats to count xcalloc stats wrong
Index: util.c
===================================================================
RCS file: /cvsroot/squid/squid/lib/util.c,v
retrieving revision 1.7.28.2
retrieving revision 1.7.28.3
diff -w -u -r1.7.28.2 -r1.7.28.3
--- util.c 2001/04/09 15:17:30 1.7.28.2
+++ util.c 2001/04/10 11:58:41 1.7.28.3
@@ -584,7 +584,7 @@
check_malloc(p, sz * n);
#endif
#if XMALLOC_STATISTICS
- malloc_stat(sz);
+ malloc_stat(sz * n);
#endif
#if XMALLOC_TRACE
xmalloc_show_trace(p, 1);
------------------------------------
Andres Kroonmaa
CTO, Delfi Online
Tel: 6501 731, Fax: 6501 708
Pärnu mnt. 158, Tallinn,
11317 Estonia