aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-07-15 08:34:32 +0000
committerRoger Dingledine <arma@torproject.org>2007-07-15 08:34:32 +0000
commit5ab3f49d93f6527e4874ffad5c33019ea43fcfe5 (patch)
treecc54243743657f6887dfccfdb3a5c6ecc6f1f07a /src/or/routerlist.c
parent2c2f7ee6a42d8d71679c648222e819590bd2fd69 (diff)
downloadtor-5ab3f49d93f6527e4874ffad5c33019ea43fcfe5.tar
tor-5ab3f49d93f6527e4874ffad5c33019ea43fcfe5.tar.gz
backport candidate: fix a memory leak from r9039 which had us leaking
50ish bytes every time we rebuild the cached-router files. svn:r10830
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 8c2c56397..113b063b7 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -501,6 +501,7 @@ router_rebuild_store(int force, int extrainfo)
if (signed_descriptors)
smartlist_free(signed_descriptors);
tor_free(fname);
+ tor_free(fname_tmp);
SMARTLIST_FOREACH(chunk_list, sized_chunk_t *, c, tor_free(c));
smartlist_free(chunk_list);