aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/circuitbuild.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 7b414b9bb..29a762e88 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1252,12 +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);//!!!!
+ smartlist_free(preferredexits);
+ smartlist_free(excludedexits);
+ smartlist_free(sl);
+ tor_free(n_supported);
+ 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.");
}