Merge remote-tracking branch 'tor-github/pr/731' into maint-0.4.0

This commit is contained in:
Nick Mathewson
2019-02-27 09:59:33 -05:00
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (memory management, testing):
- Stop leaking parts of the shared random state in the shared-random unit
tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
+3 -2
View File
@@ -738,8 +738,8 @@ test_vote(void *arg)
}
done:
sr_commit_free(our_commit);
UNMOCK(trusteddirserver_get_by_v3_auth_digest);
sr_state_free_all();
}
static const char *sr_state_str = "Version 1\n"
@@ -975,6 +975,7 @@ test_sr_compute_srv(void *arg)
done:
UNMOCK(trusteddirserver_get_by_v3_auth_digest);
sr_state_free_all();
}
/** Return a minimal vote document with a current SRV value set to
@@ -1240,7 +1241,7 @@ test_state_transition(void *arg)
}
done:
return;
sr_state_free_all();
}
static void