]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
r16879@catbus: nickm | 2007-11-30 14:07:05 -0500
authorNick Mathewson <nickm@torproject.org>
Fri, 30 Nov 2007 19:07:11 +0000 (19:07 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 30 Nov 2007 19:07:11 +0000 (19:07 +0000)
 Log *useful* information from dmalloc.  (Unfreed pointers, not total of freed and unfreed).

svn:r12616

src/common/util.c

index ffbd0e6c0b4a57701dcd46971bd5e6437f18dbe7..a1e0448bc57e51d835512af8032406d954c09610 100644 (file)
@@ -240,8 +240,11 @@ tor_log_mallinfo(int severity)
   (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
 }