commit 884056ae57fb1dd80b39c9e503306c02732a551d
parent 6c4479a90e3097f99a2f7639d5f21595a8809a68
Author: David Goulet <dgoulet@torproject.org>
Date: Tue, 5 Nov 2019 09:05:26 -0500
Merge branch 'tor-github/pr/1498'
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/feature/rend/rendclient.c b/src/feature/rend/rendclient.c
@@ -1058,6 +1058,7 @@ rend_client_get_random_intro_impl(const rend_cache_entry_t *entry,
/* Get service ID so we can use it to query the failure cache. If we fail to
* parse it, this cache entry is no good. */
if (BUG(rend_get_service_id(entry->parsed->pk, service_id) < 0)) {
+ smartlist_free(usable_nodes);
return NULL;
}