diff options
author | Roger Dingledine <arma@torproject.org> | 2007-11-11 03:56:34 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-11-11 03:56:34 +0000 |
commit | 2b2d111017f5aef494aa80d81cd86b7cad258630 (patch) | |
tree | e8a3aefba3dec769e08953f7f49c2b25e4d3151a /src/or/dns.c | |
parent | e33aaf34b285b5814a3025da4045a1c314472251 (diff) | |
download | tor-2b2d111017f5aef494aa80d81cd86b7cad258630.tar.gz tor-2b2d111017f5aef494aa80d81cd86b7cad258630.zip |
a log entry to help us find mike's memory leak
svn:r12469
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 7c52d56f85..b9775969a7 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -707,6 +707,8 @@ dns_resolve_impl(edge_connection_t *exitconn, int is_resolve, tor_fragile_assert(); } tor_assert(0); + } else if (resolve) { + log_warn(LD_BUG, "Found Mike's bug. Memory leak here!"); } /* not there, need to add it */ resolve = tor_malloc_zero(sizeof(cached_resolve_t)); |