Browse Source

r9577@Kushana: nickm | 2006-11-20 11:07:28 -0500
Oops; fix bug in last fix. Time to get some coffee.


svn:r8970

Nick Mathewson 17 years ago
parent
commit
aef64c1277
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/or/circuitbuild.c

+ 5 - 5
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.");
     }