[or-cvs] r12469: a log entry to help us find mike's memory leak (tor/trunk/src/or)

arma at seul.org arma at seul.org
Sun Nov 11 03:56:34 UTC 2007


Author: arma
Date: 2007-11-10 22:56:34 -0500 (Sat, 10 Nov 2007)
New Revision: 12469

Modified:
   tor/trunk/src/or/dns.c
Log:
a log entry to help us find mike's memory leak


Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c	2007-11-11 01:33:15 UTC (rev 12468)
+++ tor/trunk/src/or/dns.c	2007-11-11 03:56:34 UTC (rev 12469)
@@ -707,6 +707,8 @@
         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));



More information about the tor-commits mailing list