mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Put dirlist_free_all back in routerlist_free_all for unit tests
This commit is contained in:
parent
1a85ac8c2d
commit
63219eda8a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user