[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8502: Trivial fix to make dmalloc happier: release memory held in (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8502: Trivial fix to make dmalloc happier: release memory held in (tor/trunk/src/or)
- From: nickm@xxxxxxxx
- Date: Mon, 25 Sep 2006 14:46:29 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 25 Sep 2006 14:46:37 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: nickm
Date: 2006-09-25 14:46:29 -0400 (Mon, 25 Sep 2006)
New Revision: 8502
Modified:
tor/trunk/src/or/main.c
Log:
Trivial fix to make dmalloc happier: release memory held in static member of escaped().
Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c 2006-09-25 17:33:53 UTC (rev 8501)
+++ tor/trunk/src/or/main.c 2006-09-25 18:46:29 UTC (rev 8502)
@@ -1569,7 +1569,8 @@
/* stuff in main.c */
smartlist_free(closeable_connection_lst);
tor_free(timeout_event);
-
+ /* Stuff in util.c */
+ escaped(NULL);
if (!postfork) {
close_logs(); /* free log strings. do this last so logs keep working. */
}