From 63219eda8aeb9aecf0e302179eb47a16ff26f6e9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 21 Sep 2018 08:10:39 -0400 Subject: [PATCH] Put dirlist_free_all back in routerlist_free_all for unit tests --- src/feature/nodelist/routerlist.c | 1 + 1 file changed, 1 insertion(+) 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);