mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02: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
@ -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…
Reference in New Issue
Block a user