[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Small leak in ed_key_init_from_file. CID 1301373
commit 2c32b2848a607978cf1722fd28a4cfe35a9cfe1c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu May 28 12:52:34 2015 -0400
Small leak in ed_key_init_from_file. CID 1301373
---
src/or/routerkeys.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c
index 59169cd..91de4db 100644
--- a/src/or/routerkeys.c
+++ b/src/or/routerkeys.c
@@ -216,6 +216,7 @@ ed_key_init_from_file(const char *fname, uint32_t flags,
tor_free(secret_fname);
tor_free(public_fname);
tor_free(cert_fname);
+ tor_free(got_tag);
return keypair;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits