[or-cvs] fix a small filename leak

Nick Mathewson nickm at seul.org
Fri Sep 30 21:11:24 UTC 2005


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

Modified Files:
	routerlist.c 
Log Message:
fix a small filename leak

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.319
retrieving revision 1.320
diff -u -d -r1.319 -r1.320
--- routerlist.c	30 Sep 2005 21:04:52 -0000	1.319
+++ routerlist.c	30 Sep 2005 21:11:22 -0000	1.320
@@ -251,6 +251,7 @@
       tor_free(contents);
     }
   }
+  tor_free(fname);
 
   /* Don't cache expired routers. */
   routerlist_remove_old_routers(ROUTER_MAX_AGE);



More information about the tor-commits mailing list