diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-07 11:47:28 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-07 11:47:28 -0500 |
commit | ca282e53263de564774944a8aa93e88271983461 (patch) | |
tree | cd499b561ef097fb3a6af088c77f6fca35035690 /src | |
parent | 4d8306e0e92200e1a25a073480ec342e22e590b7 (diff) | |
parent | 02d89c5c663ec5370386de0173accaa66c1e69f5 (diff) | |
download | tor-ca282e53263de564774944a8aa93e88271983461.tar.gz tor-ca282e53263de564774944a8aa93e88271983461.zip |
Merge branch 'bug4424' into maint-0.2.2
Diffstat (limited to 'src')
-rw-r--r-- | src/or/rendclient.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index f84475acbc..f951dad611 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -952,8 +952,13 @@ rend_client_get_random_intro_impl(const rend_cache_entry_t *entry, int rend_client_any_intro_points_usable(const rend_cache_entry_t *entry) { - return rend_client_get_random_intro_impl( - entry, get_options()->StrictNodes, 0) != NULL; + extend_info_t *extend_info = + rend_client_get_random_intro_impl(entry, get_options()->StrictNodes, 0); + + int rv = (extend_info != NULL); + + extend_info_free(extend_info); + return rv; } /** Client-side authorizations for hidden services; map of onion address to |