Browse Source

fix a minor leak for people offering hidden services

svn:r3113
Roger Dingledine 21 years ago
parent
commit
e93077c82a
1 changed files with 1 additions and 0 deletions
  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;
       }