Explorar el Código

fix a minor leak for people offering hidden services

svn:r3113
Roger Dingledine hace 21 años
padre
commit
e93077c82a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/or/rendservice.c

+ 1 - 0
src/or/rendservice.c

@@ -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;
       }