diff options
-rw-r--r-- | src/or/circuitbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 373f1c78a8..bdd760a377 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -810,6 +810,7 @@ circuit_all_predicted_ports_handled(time_t now) { int enough; smartlist_t *sl = circuit_get_unhandled_ports(now); enough = (smartlist_len(sl) == 0); + SMARTLIST_FOREACH(sl, char *, cp, tor_free(cp)); smartlist_free(sl); return enough; } |