and bust another memory leak

svn:r3105
This commit is contained in:
Roger Dingledine 2004-12-07 08:58:26 +00:00
parent 5d961c2c06
commit d9f86e2782

View File

@ -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);
}