diff options
author | Roger Dingledine <arma@torproject.org> | 2009-05-17 01:22:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-17 02:04:59 -0400 |
commit | 2fa54102188b70b9899035250a9f7c26b843fc91 (patch) | |
tree | b140db62acf5ab4d785ab52afb57e323668f6cc2 /src | |
parent | c0515b307c4c60d4a17158e47db1033540019b28 (diff) | |
download | tor-2fa54102188b70b9899035250a9f7c26b843fc91.tar.gz tor-2fa54102188b70b9899035250a9f7c26b843fc91.zip |
Fix a memory leak when v3 directory authorities load their keys
and cert from disk. Bugfix on 0.2.0.1-alpha.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/router.c b/src/or/router.c index 45ea18b14f..da922b7508 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -330,9 +330,6 @@ load_authority_keyset(int legacy, crypto_pk_env_t **key_out, "certificate"); goto done; } - parsed->cache_info.signed_descriptor_body = cert; - parsed->cache_info.signed_descriptor_len = eos-cert; - cert = NULL; if (*key_out) crypto_free_pk_env(*key_out); |