[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] free some memory that is still reachable on exit



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:
free some memory that is still reachable on exit


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.496
retrieving revision 1.497
diff -u -d -r1.496 -r1.497
--- main.c	15 May 2005 05:00:24 -0000	1.496
+++ main.c	16 May 2005 10:32:10 -0000	1.497
@@ -1236,6 +1236,7 @@
   routerlist_free_current();
   free_trusted_dir_servers();
   addressmap_free_all();
+  set_exit_redirects(NULL); /* free the registered exit redirects */
   free_socks_policy();
   free_dir_policy();
   dirserv_free_all();