[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix a minor memory leak found by weasel
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
dirserv.c
Log Message:
fix a minor memory leak found by weasel
Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- dirserv.c 29 Jan 2005 11:23:34 -0000 1.139
+++ dirserv.c 31 Jan 2005 20:38:57 -0000 1.140
@@ -695,6 +695,7 @@
published, recommended_versions, running_routers, router_status,
identity_pkey);
+ smartlist_free(recommended_versions);
tor_free(running_routers);
tor_free(router_status);
tor_free(identity_pkey);