From 1953de9dd1f1a6411f2e65f57850cf864f3a68b6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 16 Jul 2007 14:52:54 +0000 Subject: r13767@catbus: nickm | 2007-07-16 10:52:47 -0400 Backport 10830: fix a small memory leak when rebuilding the router store. svn:r10841 --- src/or/routerlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/routerlist.c') diff --git a/src/or/routerlist.c b/src/or/routerlist.c index a94324d3f2..446ed06250 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -344,6 +344,7 @@ router_rebuild_store(int force) smartlist_free(old_routers); smartlist_free(routers); tor_free(fname); + tor_free(fname_tmp); SMARTLIST_FOREACH(chunk_list, sized_chunk_t *, c, tor_free(c)); smartlist_free(chunk_list); return r; -- cgit v1.2.3-54-g00ecf