Browse Source

a log entry to help us find mike's memory leak

svn:r12469
Roger Dingledine 16 years ago
parent
commit
2b2d111017
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/dns.c

+ 2 - 0
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));