summaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-31 20:48:08 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-31 20:48:08 +0000
commitfcd42ebef4f56b15af7f7407d48e41d1440dac35 (patch)
tree2ca654decaaf3eca110e8889c6084038c1944409 /src/or/circuitlist.c
parent779b615bc272b287436398ae59afcf1ee19154d6 (diff)
downloadtor-fcd42ebef4f56b15af7f7407d48e41d1440dac35.tar.gz
tor-fcd42ebef4f56b15af7f7407d48e41d1440dac35.zip
r16301@catbus: nickm | 2007-10-31 16:43:49 -0400
A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int. svn:r12300
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index cf54401568..0051d46dff 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -389,6 +389,8 @@ circuit_free(circuit_t *circ)
tor_free(ocirc->build_state);
circuit_free_cpath(ocirc->cpath);
+ if (ocirc->intro_key)
+ crypto_free_pk_env(ocirc->intro_key);
} else {
or_circuit_t *ocirc = TO_OR_CIRCUIT(circ);