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

[or-cvs] fix massive memory leak



Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
fix massive memory leak
(50 megabytes over a couple of days, on the dirservers)


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -d -r1.228 -r1.229
--- routerlist.c	2 May 2005 21:22:31 -0000	1.228
+++ routerlist.c	6 May 2005 08:53:23 -0000	1.229
@@ -693,6 +693,7 @@
   tor_free(router->address);
   tor_free(router->nickname);
   tor_free(router->platform);
+  tor_free(router->contact_info);
   if (router->onion_pkey)
     crypto_free_pk_env(router->onion_pkey);
   if (router->identity_pkey)