[or-cvs] Fix a leak

Nick Mathewson nickm at seul.org
Sat Aug 7 02:59:49 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv19459/src/or

Modified Files:
	router.c 
Log Message:
Fix a leak

Index: router.c
===================================================================
RCS file: /home/or/cvsroot/src/or/router.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- router.c	7 Aug 2004 02:46:16 -0000	1.79
+++ router.c	7 Aug 2004 02:59:46 -0000	1.80
@@ -651,6 +651,7 @@
 
   tor_free(onion_pkey);
   tor_free(identity_pkey);
+  tor_free(bandwidth_usage);
 
   if(result < 0 || result >= maxlen) {
     /* apparently different glibcs do different things on snprintf error.. so check both */



More information about the tor-commits mailing list