mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
Merge branch 'tor-github/pr/1498'
This commit is contained in:
commit
884056ae57
@ -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
|
/* 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. */
|
* parse it, this cache entry is no good. */
|
||||||
if (BUG(rend_get_service_id(entry->parsed->pk, service_id) < 0)) {
|
if (BUG(rend_get_service_id(entry->parsed->pk, service_id) < 0)) {
|
||||||
|
smartlist_free(usable_nodes);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user