summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c3
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>. */