diff options
-rw-r--r-- | src/or/microdesc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/microdesc.c b/src/or/microdesc.c index f196536da7..9c91f17a6e 100644 --- a/src/or/microdesc.c +++ b/src/or/microdesc.c @@ -509,6 +509,7 @@ microdesc_cache_rebuild(microdesc_cache_t *cache, int force) log_warn(LD_FS, "Failed to unmap old microdescriptor cache while rebuilding"); } + cache->cache_content = NULL; } if (finish_writing_to_file(open_file) < 0) { |