diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-25 16:06:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-25 16:06:39 +0000 |
commit | 4fe76e7b6b257cd5a1fcd95789075efe493373b0 (patch) | |
tree | 9f272a94466a99159e9faa2eea9d0bbc0e999373 /src/or | |
parent | 0f8491a254f799b7d850e533827a19ac43eac5e2 (diff) | |
download | tor-4fe76e7b6b257cd5a1fcd95789075efe493373b0.tar.gz tor-4fe76e7b6b257cd5a1fcd95789075efe493373b0.zip |
Free named_server_map on shutdown.
svn:r8500
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 71cc367af1..7f0dc577d6 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1505,6 +1505,9 @@ routerlist_free_all(void) smartlist_free(routerstatus_list); routerstatus_list = NULL; } + if (named_server_map) { + strmap_free(named_server_map, _tor_free); + } } /** Free all storage held by the routerstatus object <b>rs</b>. */ |