mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
backport candidate: fix a memory leak from r9039 which had us leaking
50ish bytes every time we rebuild the cached-router files. svn:r10830
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user