diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-30 19:07:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-30 19:07:11 +0000 |
commit | 6fe70f4c69b80c12db5ad4f0cedac1a81ecd867a (patch) | |
tree | c66ddbbc77d0b2aeef54fa999b8cff98b58328c0 /src | |
parent | fa2c3a73e4dbbe69c311d6a2ded4e5cc0d6be665 (diff) | |
download | tor-6fe70f4c69b80c12db5ad4f0cedac1a81ecd867a.tar.gz tor-6fe70f4c69b80c12db5ad4f0cedac1a81ecd867a.zip |
r16879@catbus: nickm | 2007-11-30 14:07:05 -0500
Log *useful* information from dmalloc. (Unfreed pointers, not total of freed and unfreed).
svn:r12616
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index ffbd0e6c0b..a1e0448bc5 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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 } |