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

[or-cvs] backport: fix memory leak



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

Modified Files:
      Tag: tor-0_0_9-patches
	dirserv.c 
Log Message:
backport: fix memory leak


Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.129.2.3
retrieving revision 1.129.2.4
diff -u -d -r1.129.2.3 -r1.129.2.4
--- dirserv.c	6 Jan 2005 20:30:09 -0000	1.129.2.3
+++ dirserv.c	3 Feb 2005 23:42:04 -0000	1.129.2.4
@@ -655,6 +655,7 @@
            published, recommended_versions, running_routers, router_status,
            identity_pkey);
 
+  tor_free(recommended_versions);
   tor_free(running_routers);
   tor_free(router_status);
   tor_free(identity_pkey);