mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 14:23:04 +01:00
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:
parent
e54a44eb82
commit
53e6233985
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,8 @@ Changes in version 0.2.0.10-alpha - 2007-1?-??
|
|||
on 0.2.0.x.
|
||||
- Stop leaking memory every time we parse a v3 certificate. Bugfix
|
||||
on 0.2.0.1-alpha.
|
||||
- Stop leaking memory every time we load a v3 certificate. Bugfix
|
||||
on 0.2.0.1-alpha. Fixes Bug 536.
|
||||
|
||||
|
||||
Changes in version 0.2.0.9-alpha - 2007-10-24
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue