mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
we were leaking 3KB every time the entry guards changed, every time
the controller called saveconf, and every 20 minutes. svn:r5788
This commit is contained in:
parent
068afa6868
commit
d1baa0c4a6
1 changed files with 1 additions and 0 deletions
|
@ -1719,6 +1719,7 @@ config_dump(config_format_t *fmt, void *options, int minimal)
|
|||
result = smartlist_join_strings(elements, "", 0, NULL);
|
||||
SMARTLIST_FOREACH(elements, char *, cp, tor_free(cp));
|
||||
smartlist_free(elements);
|
||||
config_free(fmt, defaults);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue