From 94db8f32e46925c3a64def751e5d2efbddbdf417 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 17 Nov 2017 11:46:25 -0500 Subject: Make all the free() functions from container.h clear their targets --- src/or/router.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/router.c') 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); -- cgit v1.2.3-54-g00ecf