[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[or-cvs] was leaking 28 bytes every 100 minutes



Update of /home/or/cvsroot/src/or
In directory moria.seul.org:/home/arma/work/onion/cvs/src/or

Modified Files:
	routers.c 
Log Message:
was leaking 28 bytes every 100 minutes


Index: routers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routers.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- routers.c	2 Oct 2002 22:54:20 -0000	1.16
+++ routers.c	3 Dec 2002 05:12:30 -0000	1.17
@@ -355,6 +355,8 @@
       case 1: /* it is me */
         if(!my_routerinfo) /* save it, so we can use it for directories */
           my_routerinfo = router;
+        else
+          routerlist_free(router);        
         break;
       default:
         log(LOG_ERR,"router_get_list_from_string(): router_is_me returned error.");