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

[or-cvs] and another leak.



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

Modified Files:
	connection.c 
Log Message:
and another leak.

Index: connection.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.403
retrieving revision 1.404
diff -u -d -r1.403 -r1.404
--- connection.c	30 Sep 2005 21:30:04 -0000	1.403
+++ connection.c	30 Sep 2005 21:31:26 -0000	1.404
@@ -886,6 +886,8 @@
       log_fn(LOG_INFO, "Already have %s on %s:%d",
              conn_type_to_string(type), conn->address, conn->port);
       smartlist_remove(launch, line);
+      if (free_launch_elts)
+        config_free_lines(line);
     }
   }