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

[or-cvs] Stop leaking or_state_t on shutdown.



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

Modified Files:
	config.c 
Log Message:
Stop leaking or_state_t on shutdown.

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.425
retrieving revision 1.426
diff -u -d -r1.425 -r1.426
--- config.c	30 Sep 2005 01:09:52 -0000	1.425
+++ config.c	30 Sep 2005 21:16:47 -0000	1.426
@@ -394,6 +394,7 @@
 config_free_all(void)
 {
   config_free(&options_format, global_options);
+  config_free(&state_format, global_state);
   tor_free(torrc_fname);
   addr_policy_free(reachable_addr_policy);
   reachable_addr_policy = NULL;