[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Release memory from conn_circid_circuit_map on exit.



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv14308/src/or

Modified Files:
	circuitlist.c 
Log Message:
Release memory from conn_circid_circuit_map on exit.

Index: circuitlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/circuitlist.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- circuitlist.c	5 Dec 2005 19:45:54 -0000	1.83
+++ circuitlist.c	8 Dec 2005 19:46:22 -0000	1.84
@@ -328,6 +328,7 @@
   }
   smartlist_free(circuits_pending_or_conns);
   circuits_pending_or_conns = NULL;
+  HT_CLEAR(orconn_circid_map, &orconn_circid_circuit_map);
 }
 
 /** Deallocate space associated with the cpath node <b>victim</b>. */