r16153@catbus: nickm | 2007-10-25 10:21:42 -0400

do not set authority cert bodies twice: fixes memory leak bug 536.


svn:r12187
This commit is contained in:
Nick Mathewson
2007-10-25 14:31:13 +00:00
parent e54a44eb82
commit 53e6233985
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -140,8 +140,6 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store)
if (found)
continue;
cert->cache_info.signed_descriptor_body = tor_strndup(s, eos-s);
cert->cache_info.signed_descriptor_len = eos-s;
smartlist_add(ds->v3_certs, cert);
if (!from_store)