Merge remote-tracking branch 'tor-github/pr/544'

This commit is contained in:
Nick Mathewson 2018-12-02 19:50:04 -05:00
commit 0d9dc13e08

View File

@ -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();
}