diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 2baad3458c..d3f8ef8c6b 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1407,7 +1407,7 @@ routerstatus_list_update_named_server_map(void) named_server_map = strmap_new(); if (unnamed_server_map) strmap_free(unnamed_server_map, NULL); - named_server_map = strmap_new(); + unnamed_server_map = strmap_new(); SMARTLIST_FOREACH(current_consensus->routerstatus_list, routerstatus_t *, rs, { if (rs->is_named) {