diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-23 06:20:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-23 06:20:50 +0000 |
commit | 905c16846aa52841581204d53d0bfbdd5252a2ff (patch) | |
tree | 0c4afd2d180cfa80e21770af36de1a15bf4056d1 /src/or/dirserv.c | |
parent | b7ce4d1d3d59ec41674d7251d880729175b1a87c (diff) | |
download | tor-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.c | 4 |
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); |