Browse Source

backport candidate: fix a memory leak from r9039 which had us leaking
50ish bytes every time we rebuild the cached-router files.


svn:r10830

Roger Dingledine 18 years ago
parent
commit
5ab3f49d93
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/routerlist.c

+ 1 - 0
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);