summaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-21 08:39:07 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-08 14:47:19 -0500
commit0792cc107ef588b9f9fa27165b73e19fbf07e92b (patch)
tree3194ccd5f53837a866288647b25f8c7b294cf22c /src/or/circuitlist.c
parenta48ba072a98a5d946079e2e0c15c84bb8c9d1a19 (diff)
downloadtor-0792cc107ef588b9f9fa27165b73e19fbf07e92b.tar.gz
tor-0792cc107ef588b9f9fa27165b73e19fbf07e92b.zip
Convert connection_free to a nulling macro.
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 0171ed4f13..34a61a34e5 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -1087,7 +1087,7 @@ circuit_free_all(void)
while (or_circ->resolving_streams) {
edge_connection_t *next_conn;
next_conn = or_circ->resolving_streams->next_stream;
- connection_free(TO_CONN(or_circ->resolving_streams));
+ connection_free_(TO_CONN(or_circ->resolving_streams));
or_circ->resolving_streams = next_conn;
}
}