瀏覽代碼

send a destroy after we send an introduce

svn:r1476
Roger Dingledine 21 年之前
父節點
當前提交
8a209bc4d3
共有 1 個文件被更改,包括 3 次插入0 次删除
  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)