[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix a minor leak for people offering hidden services
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
rendservice.c
Log Message:
fix a minor leak for people offering hidden services
Index: rendservice.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/rendservice.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- rendservice.c 1 Dec 2004 03:48:13 -0000 1.110
+++ rendservice.c 7 Dec 2004 17:49:14 -0000 1.111
@@ -831,6 +831,7 @@
if (!router || !find_intro_circuit(router,service->pk_digest)) {
log_fn(LOG_INFO,"Giving up on %s as intro point for %s.",
intro, service->service_id);
+ tor_free(intro);
smartlist_del(service->intro_nodes,j--);
changed = service->desc_is_dirty = 1;
}