[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r12616: Log *useful* information from dmalloc. (Unfreed pointers, no (in tor/trunk: . src/common)
Author: nickm
Date: 2007-11-30 14:07:11 -0500 (Fri, 30 Nov 2007)
New Revision: 12616
Modified:
tor/trunk/
tor/trunk/src/common/util.c
Log:
r16879@catbus: nickm | 2007-11-30 14:07:05 -0500
Log *useful* information from dmalloc. (Unfreed pointers, not total of freed and unfreed).
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r16879] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/common/util.c
===================================================================
--- tor/trunk/src/common/util.c 2007-11-30 19:02:56 UTC (rev 12615)
+++ tor/trunk/src/common/util.c 2007-11-30 19:07:11 UTC (rev 12616)
@@ -240,8 +240,11 @@
(void)severity;
#endif
#ifdef USE_DMALLOC
- dmalloc_log_stats();
- // too wordy dmalloc_log_unfreed();
+ dmalloc_log_changed(0, /* Since the program started. */
+ 1, /* Log info about non-freed pointers. */
+ 0, /* Do not log info about freed pointers. */
+ 0 /* Do not log individual pointers. */
+ );
#endif
}