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

[or-cvs] aaand another leak. Oops, I guess I lied to weasel when I ...



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

Modified Files:
	dirserv.c 
Log Message:
aaand another leak.  Oops, I guess I lied to weasel when I told him there was no leak here.

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -d -r1.262 -r1.263
--- dirserv.c	27 Oct 2005 00:34:39 -0000	1.262
+++ dirserv.c	28 Oct 2005 19:10:53 -0000	1.263
@@ -455,6 +455,7 @@
          "Not replacing descriptor from '%s'; differences are cosmetic.",
          ri->nickname);
     *msg = "Not replacing router descriptor; no information has changed since the last one with this identity.";
+    routerinfo_free(ri);
     return 0;
   }
   if ((r = router_add_to_routerlist(ri, msg, 0))<0) {