summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/or/versions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/or/versions.c b/src/core/or/versions.c
index 6f8eea7a67..5d4effcaf8 100644
--- a/src/core/or/versions.c
+++ b/src/core/or/versions.c
@@ -399,6 +399,7 @@ memoize_protover_summary(protover_summary_flags_t *out,
if (strmap_size(protover_summary_map) >= MAX_PROTOVER_SUMMARY_MAP_LEN) {
protover_summary_cache_free_all();
+ protover_summary_map = strmap_new();
}
const protover_summary_flags_t *cached =