]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
send a destroy after we send an introduce
authorRoger Dingledine <arma@torproject.org>
Mon, 5 Apr 2004 15:17:34 +0000 (15:17 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 5 Apr 2004 15:17:34 +0000 (15:17 +0000)
svn:r1476

src/or/rendclient.c

index d726cb5cb17469ebde599423884bd23f4f079966..82f3681e0784cdd0dc8a997010b4fae49f861e2f 100644 (file)
@@ -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)