[or-cvs] a note for nick about other memory not freed at exit

Roger Dingledine arma at seul.org
Fri May 20 22:11:48 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	main.c 
Log Message:
a note for nick about other memory not freed at exit


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.497
retrieving revision 1.498
diff -u -d -r1.497 -r1.498
--- main.c	16 May 2005 10:32:10 -0000	1.497
+++ main.c	20 May 2005 22:11:46 -0000	1.498
@@ -784,6 +784,7 @@
   int seconds_elapsed;
   or_options_t *options = get_options();
   if (!timeout_event) {
+    /* XXX NM: We don't free timeout_event on exit. */
     timeout_event = tor_malloc_zero(sizeof(struct event));
     evtimer_set(timeout_event, second_elapsed_callback, NULL);
     one_second.tv_sec = 1;



More information about the tor-commits mailing list