aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-02 19:50:04 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-02 19:50:04 -0500
commit0d9dc13e087c01550e5d237f298d8a5de5994df0 (patch)
tree1137382771505df9487740683f743484eb40a17a /src
parent8221b5d587d6ae6b7d57d10b0ec9ea78e0c57651 (diff)
parente92f90019145c09fd8b1292b0198db1c2ba3a9b5 (diff)
downloadtor-0d9dc13e087c01550e5d237f298d8a5de5994df0.tar.gz
tor-0d9dc13e087c01550e5d237f298d8a5de5994df0.zip
Merge remote-tracking branch 'tor-github/pr/544'
Diffstat (limited to 'src')
-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();
}