aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-30 21:22:25 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-30 21:22:25 +0000
commit23864ad423c8be7a2a2d558e47baa8dc122d8de0 (patch)
treeca429560d23f4086c059630ea03e733e89805f1d /src/or/routerlist.c
parent80f2e1022846d26ec46eed80921c903c27699271 (diff)
downloadtor-23864ad423c8be7a2a2d558e47baa8dc122d8de0.tar
tor-23864ad423c8be7a2a2d558e47baa8dc122d8de0.tar.gz
Try to hunt down a few more leaks
svn:r5172
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index c37b95a43..ddd33e7e8 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -93,6 +93,8 @@ router_reload_networkstatus(void)
tor_free(s);
}
});
+ SMARTLIST_FOREACH(entries, char *, fn, tor_free(fn));
+ smartlist_free(entries);
networkstatus_list_clean(time(NULL));
routers_update_all_from_networkstatus();
return 0;