diff options
-rw-r--r-- | src/or/circuitlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index ab60327a2d..6f5fc26c68 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -112,8 +112,8 @@ circuit_set_circid_orconn(circuit_t *circ, uint16_t id, found = HT_REMOVE(orconn_circid_map, &orconn_circid_circuit_map, &search); if (found) { tor_free(found); + --old_conn->n_circuits; } - --old_conn->n_circuits; } if (conn == NULL) |