Explorar o código

send a destroy after we send an introduce

svn:r1476
Roger Dingledine %!s(int64=22) %!d(string=hai) anos
pai
achega
8a209bc4d3
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/or/rendclient.c

+ 3 - 0
src/or/rendclient.c

@@ -98,6 +98,9 @@ rend_client_send_introduction(circuit_t *introcirc, circuit_t *rendcirc) {
     return -1;
   }
 
+  /* we don't need it anymore, plus it's been used. send the destroy. */
+  circuit_mark_for_close(introcirc);
+
   return 0;
 err:
   if(parsed)