summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-25 14:31:13 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-25 14:31:13 +0000
commit53e62339857eaa650df769ad3ad7cc2527b296ca (patch)
tree336acc4032a9f2d85d1fc76da2880432d9ae5fb6 /src/or
parente54a44eb82e7ecea6c4d18de1fef3cc39b7644e5 (diff)
downloadtor-53e62339857eaa650df769ad3ad7cc2527b296ca.tar.gz
tor-53e62339857eaa650df769ad3ad7cc2527b296ca.zip
r16153@catbus: nickm | 2007-10-25 10:21:42 -0400
do not set authority cert bodies twice: fixes memory leak bug 536. svn:r12187
Diffstat (limited to 'src/or')
-rw-r--r--src/or/routerlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index e86e2d51f5..d12e26f0bc 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -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)