From d9f86e278221930fe1faa9754eafbdf52012eedb Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 7 Dec 2004 08:58:26 +0000 Subject: [PATCH] and bust another memory leak svn:r3105 --- src/or/circuitbuild.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index aa101aff6d..e1ffda4e1b 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1000,6 +1000,7 @@ static routerinfo_t *choose_good_exit_server_general(routerlist_t *dir) if (router) break; } + SMARTLIST_FOREACH(needed_ports, char *, cp, tor_free(cp)); smartlist_free(needed_ports); }