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

[or-cvs] Free the v2 directory networkstatus on exit. (Not a leak.)



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv31352

Modified Files:
	dirserv.c 
Log Message:
Free the v2 directory networkstatus on exit. (Not a leak.)

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.263
retrieving revision 1.264
diff -u -d -r1.263 -r1.264
--- dirserv.c	28 Oct 2005 19:10:53 -0000	1.263
+++ dirserv.c	29 Oct 2005 05:01:12 -0000	1.264
@@ -1504,6 +1504,7 @@
     addr_policy_free(authdir_invalid_policy);
   clear_cached_dir(&the_directory);
   clear_cached_dir(&the_runningrouters);
+  clear_cached_dir(&the_v2_networkstatus);
   clear_cached_dir(&cached_directory);
   clear_cached_dir(&cached_runningrouters);
   if (cached_v2_networkstatus) {