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

svn:r12469
This commit is contained in:
Roger Dingledine 2007-11-11 03:56:34 +00:00
parent e33aaf34b2
commit 2b2d111017

View File

@ -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));