fix a minor leak for people offering hidden services

svn:r3113
This commit is contained in:
Roger Dingledine 2004-12-07 17:49:14 +00:00
parent 29a8e80326
commit e93077c82a

View File

@ -831,6 +831,7 @@ void rend_services_introduce(void) {
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;
}