aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r--src/or/circuit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index b65bc3270..3964ac1b6 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -1015,7 +1015,7 @@ int _circuit_mark_for_close(circuit_t *circ) {
connection_edge_destroy(circ->n_circ_id, conn);
}
if(circ->p_conn)
- connection_send_destroy(circ->n_circ_id, circ->p_conn);
+ connection_send_destroy(circ->p_circ_id, circ->p_conn);
for(conn=circ->p_streams; conn; conn=conn->next_stream) {
connection_edge_destroy(circ->p_circ_id, conn);
}