summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-17 11:46:25 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-17 12:01:19 -0500
commit94db8f32e46925c3a64def751e5d2efbddbdf417 (patch)
tree8439c65932841c498624b3c1e7c7db9994672a34 /src/or/router.c
parentc1bdb80aba64ac378784840d231b0db098c05474 (diff)
downloadtor-94db8f32e46925c3a64def751e5d2efbddbdf417.tar.gz
tor-94db8f32e46925c3a64def751e5d2efbddbdf417.zip
Make all the free() functions from container.h clear their targets
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 8ad5d038ef..614d76a361 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -3698,6 +3698,7 @@ router_free_all(void)
crypto_pk_free(lastonionkey);
crypto_pk_free(server_identitykey);
crypto_pk_free(client_identitykey);
+
tor_mutex_free(key_lock);
routerinfo_free(desc_routerinfo);
extrainfo_free(desc_extrainfo);