diff options
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index 49c09ba5d8..9b8f36784c 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -352,6 +352,7 @@ void circuit_about_to_close_connection(connection_t *conn) { circuit_remove(circ); if(circ->n_conn == conn) /* it's closing in front of us */ /* circ->p_conn should always be set */ + assert(circ->p_conn); connection_send_destroy(circ->p_aci, circ->p_conn); if(circ->p_conn == conn) /* it's closing behind us */ if(circ->n_conn) |