diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-11-20 16:06:09 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-11-20 16:06:09 +0000 |
commit | a667f2e5141ad5b2d529d023ad657b1ddc10a2a7 (patch) | |
tree | d8a1eb1db6a69f4672c26f0d2bff64b5a316fc26 /src/or | |
parent | 6120cb7d6427b1f2022a76d0b0f434dfd73a0b1f (diff) | |
download | tor-a667f2e5141ad5b2d529d023ad657b1ddc10a2a7.tar tor-a667f2e5141ad5b2d529d023ad657b1ddc10a2a7.tar.gz |
r9567@Kushana: nickm | 2006-11-20 11:05:59 -0500
Fix leak in choose_good_exit_server_general()
svn:r8969
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/circuitbuild.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 3268d6d3c..7b414b9bb 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1252,8 +1252,12 @@ choose_good_exit_server_general(routerlist_t *dir, int need_uptime, "to list of all routers.", need_capacity?", fast":"", need_uptime?", stable":""); - return choose_good_exit_server_general(dir, 0, 0); + return choose_good_exit_server_general(dir, 0, 0);//!!!! } + smartlist_free(preferredexits); + smartlist_free(excludedexits); + smartlist_free(sl); + tor_free(n_supported); log_notice(LD_CIRC, "All routers are down or won't exit -- choosing a " "doomed exit at random."); } |