Commit 63219eda authored by Nick Mathewson's avatar Nick Mathewson 👁
Browse files

Put dirlist_free_all back in routerlist_free_all for unit tests

parent 1a85ac8c
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment