summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 13:06:16 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 13:06:16 -0400
commit7a47379f252b4d277df7c289f8a9d3160b50eee0 (patch)
tree63d98a1f18fdb3cc1807d95ecea0277df59d4be3 /src/or/directory.c
parent1a5be3c5e76a9ce07c64499b6cb8a6bad9323113 (diff)
parentf6b30a97a96837e012b296a43cc99018d96bcf13 (diff)
downloadtor-7a47379f252b4d277df7c289f8a9d3160b50eee0.tar.gz
tor-7a47379f252b4d277df7c289f8a9d3160b50eee0.zip
Merge branch 'maint-0.3.4'
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 763666d2fa..6b8885e121 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3703,6 +3703,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. */
}