Commit 2b2d1110 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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

parent e33aaf34
......@@ -707,6 +707,8 @@ dns_resolve_impl(edge_connection_t *exitconn, int is_resolve,
} 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));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment