aboutsummaryrefslogtreecommitdiff
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 5d4effcaf8..a1336c7a78 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();
+ tor_assert(protover_summary_map == NULL);
protover_summary_map = strmap_new();
}