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:
Roger Dingledine 2006-01-11 03:20:53 +00:00
parent 068afa6868
commit d1baa0c4a6

View File

@ -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;
}