r15309@tombo: nickm | 2008-04-23 16:47:17 -0400

Backport: Free baddir and badexit policy lists on exit.  fixes bug 672. only affects authorities.


svn:r14432
This commit is contained in:
Nick Mathewson 2008-04-23 20:48:14 +00:00
parent 5dfd0c354f
commit e14725a577
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,10 @@ Changes in version 0.2.0.25-rc - 2008-04-23
Otherwise, many BSD-family implementations will crash hard on
startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
o Minor bugfixes
- Authorities correctly free policies on bad servers on
exit. Fixes bug 672.
Changes in version 0.2.0.24-rc - 2008-04-22
o New directory authorities:

View File

@ -922,6 +922,10 @@ policies_free_all(void)
authdir_reject_policy = NULL;
addr_policy_list_free(authdir_invalid_policy);
authdir_invalid_policy = NULL;
addr_policy_list_free(authdir_baddir_policy);
authdir_baddir_policy = NULL;
addr_policy_list_free(authdir_badexit_policy);
authdir_badexit_policy = NULL;
if (!HT_EMPTY(&policy_root))
log_warn(LD_MM, "Still had some address policies cached at shutdown.");