Browse Source

send a destroy after we send an introduce

svn:r1476
Roger Dingledine 21 years ago
parent
commit
8a209bc4d3
1 changed files with 3 additions and 0 deletions
  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)