aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-23 06:20:50 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-23 06:20:50 +0000
commit905c16846aa52841581204d53d0bfbdd5252a2ff (patch)
tree0c4afd2d180cfa80e21770af36de1a15bf4056d1 /src/or/dirserv.c
parentb7ce4d1d3d59ec41674d7251d880729175b1a87c (diff)
downloadtor-905c16846aa52841581204d53d0bfbdd5252a2ff.tar
tor-905c16846aa52841581204d53d0bfbdd5252a2ff.tar.gz
Fix a few more instances of memory not freed on exit (found by weasel).
svn:r3830
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 3df96e14f..5f6b314bb 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -990,6 +990,10 @@ dirserv_free_all(void)
tor_free(the_directory_z);
the_directory_len = 0;
the_directory_z_len = 0;
+ tor_free(the_runningrouters);
+ tor_free(the_runningrouters_z);
+ the_runningrouters_len = 0;
+ the_runningrouters_z_len = 0;
tor_free(cached_directory.dir);
tor_free(cached_directory.dir_z);
tor_free(cached_runningrouters.dir);