[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8500: Free named_server_map on shutdown. (tor/trunk/src/or)
Author: nickm
Date: 2006-09-25 12:06:39 -0400 (Mon, 25 Sep 2006)
New Revision: 8500
Modified:
tor/trunk/src/or/routerlist.c
Log:
Free named_server_map on shutdown.
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2006-09-25 16:06:09 UTC (rev 8499)
+++ tor/trunk/src/or/routerlist.c 2006-09-25 16:06:39 UTC (rev 8500)
@@ -1505,6 +1505,9 @@
smartlist_free(routerstatus_list);
routerstatus_list = NULL;
}
+ if (named_server_map) {
+ strmap_free(named_server_map, _tor_free);
+ }
}
/** Free all storage held by the routerstatus object <b>rs</b>. */