[or-cvs] we were leaking 3KB every time the entry guards changed, ev...
arma at seul.org
arma at seul.org
Wed Jan 11 03:20:55 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
config.c
Log Message:
we were leaking 3KB every time the entry guards changed, every time
the controller called saveconf, and every 20 minutes.
Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.486
retrieving revision 1.487
diff -u -p -d -r1.486 -r1.487
--- config.c 10 Jan 2006 23:26:59 -0000 1.486
+++ config.c 11 Jan 2006 03:20:53 -0000 1.487
@@ -1719,6 +1719,7 @@ config_dump(config_format_t *fmt, void *
result = smartlist_join_strings(elements, "", 0, NULL);
SMARTLIST_FOREACH(elements, char *, cp, tor_free(cp));
smartlist_free(elements);
+ config_free(fmt, defaults);
return result;
}
More information about the tor-commits
mailing list