mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
we were leaking some memory every time the client changes IPs
svn:r5165
This commit is contained in:
parent
ab245746a9
commit
e28c31ebce
@ -95,6 +95,8 @@ get_onion_key_set_at(void)
|
||||
void
|
||||
set_identity_key(crypto_pk_env_t *k)
|
||||
{
|
||||
if (identitykey)
|
||||
crypto_free_pk_env(identitykey);
|
||||
identitykey = k;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user