mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Free rsa_ed_crosscert at exit.
Fixes bug 17779; bugfix on 0.2.7.2-alpha.
This commit is contained in:
parent
e23389841c
commit
e94f1b4e0d
6
changes/bug17779
Normal file
6
changes/bug17779
Normal file
@ -0,0 +1,6 @@
|
||||
o Minor bugfixes (leak at exit):
|
||||
- Fix a small harmless memory leak at exit of the previously unused
|
||||
RSA->Ed identity cross-certificate. Fixes 17779; bugfix on
|
||||
0.2.7.2-alpha.
|
||||
|
||||
|
@ -1139,9 +1139,12 @@ routerkeys_free_all(void)
|
||||
tor_cert_free(signing_key_cert);
|
||||
tor_cert_free(link_cert_cert);
|
||||
tor_cert_free(auth_key_cert);
|
||||
tor_free(rsa_ed_crosscert);
|
||||
|
||||
master_identity_key = master_signing_key = NULL;
|
||||
current_auth_key = NULL;
|
||||
signing_key_cert = link_cert_cert = auth_key_cert = NULL;
|
||||
rsa_ed_crosscert = NULL; // redundant
|
||||
rsa_ed_crosscert_len = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user