diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-21 08:10:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-21 08:10:39 -0400 |
commit | 63219eda8aeb9aecf0e302179eb47a16ff26f6e9 (patch) | |
tree | 3a8b1666eab7aa9f60266e4bf92d541e5b300054 | |
parent | 1a85ac8c2de77f40212d46569632ec47bc309ba7 (diff) | |
download | tor-63219eda8aeb9aecf0e302179eb47a16ff26f6e9.tar.gz tor-63219eda8aeb9aecf0e302179eb47a16ff26f6e9.zip |
Put dirlist_free_all back in routerlist_free_all for unit tests
-rw-r--r-- | src/feature/nodelist/routerlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c index 93597f89b0..bfa1c85c09 100644 --- a/src/feature/nodelist/routerlist.c +++ b/src/feature/nodelist/routerlist.c @@ -1424,6 +1424,7 @@ routerlist_free_all(void) { routerlist_free(routerlist); routerlist = NULL; + dirlist_free_all(); if (warned_nicknames) { SMARTLIST_FOREACH(warned_nicknames, char *, cp, tor_free(cp)); smartlist_free(warned_nicknames); |