summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-22 08:43:28 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-22 08:43:28 -0400
commitd9ba7db38b328eddeb8a7bb5918ac565994b1f7b (patch)
treee2cb043a4355ba09ec7166cafdde49d5d316eeab /src/or
parentf8e53a545a818ab8e710ca58a58d1b1f6e51b82a (diff)
parentbecae4c943969a4f4f14423cc897d39f41af7773 (diff)
downloadtor-d9ba7db38b328eddeb8a7bb5918ac565994b1f7b.tar.gz
tor-d9ba7db38b328eddeb8a7bb5918ac565994b1f7b.zip
Merge remote-tracking branch 'public/geoip_testing'
Diffstat (limited to 'src/or')
-rw-r--r--src/or/geoip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c
index 0ff1c6ce0d..572bba577f 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -1881,5 +1881,8 @@ geoip_free_all(void)
clear_geoip_db();
tor_free(bridge_stats_extrainfo);
+
+ memset(geoip_digest, 0, sizeof(geoip_digest));
+ memset(geoip6_digest, 0, sizeof(geoip6_digest));
}