mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +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:
parent
2c2f7ee6a4
commit
5ab3f49d93
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user