diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-06 16:03:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-19 01:58:44 -0400 |
commit | ea0a9b16b9459c9b45ac320e87392dbcaa799b1d (patch) | |
tree | bafdd6c2a74f621c1e816bcadb8b472de5a61910 /src/or/circuitlist.c | |
parent | d2205ca458e25115287462292087f0f5ed797c02 (diff) | |
download | tor-ea0a9b16b9459c9b45ac320e87392dbcaa799b1d.tar.gz tor-ea0a9b16b9459c9b45ac320e87392dbcaa799b1d.zip |
(Unused) backend logic for stream isolation
This patch adds fields to track how streams should be isolated, and
ensures that those fields are set correctly. It also adds fields to
track what streams can go on a circuit, and adds functions to see
whether a streams can go on a circuit and update the circuit
accordingly. Those functions aren't yet called.
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 93f5fd3493..9f688801f3 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -550,6 +550,8 @@ circuit_free(circuit_t *circ) crypto_free_pk_env(ocirc->intro_key); rend_data_free(ocirc->rend_data); + + tor_free(ocirc->dest_address); } else { or_circuit_t *ocirc = TO_OR_CIRCUIT(circ); /* Remember cell statistics for this circuit before deallocating. */ |