aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 13:06:15 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 13:06:15 -0400
commit68dfbd5ef433b830059baa08d48589518db05d22 (patch)
treeba5a3ed16dd63a65e8c409b435c112669b0a9900 /src/or/directory.c
parentfe2588a5a8560c8cb03345b3caaaf906655c34a1 (diff)
parentea14d3408df7c846722b54484cf5b8d61de5384f (diff)
downloadtor-68dfbd5ef433b830059baa08d48589518db05d22.tar.gz
tor-68dfbd5ef433b830059baa08d48589518db05d22.zip
Merge branch 'maint-0.3.1' into maint-0.3.2
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 47058352f0..7f47d71ad6 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3672,6 +3672,7 @@ client_likes_consensus(const struct consensus_cache_entry_t *ent,
int have = 0;
if (consensus_cache_entry_get_voter_id_digests(ent, voters) != 0) {
+ smartlist_free(voters);
return 1; // We don't know the voters; assume the client won't mind. */
}