diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-09-21 19:23:19 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2018-10-03 15:31:49 +0300 |
commit | 2b146bdb9af55931aa7cbabc6009d0f66142a0d8 (patch) | |
tree | e528cd06a7461fe6739c97ebae2b720c2354e411 /src/core | |
parent | 43211c3a0c4b56d4100daf3a541250b953fb7230 (diff) | |
download | tor-2b146bdb9af55931aa7cbabc6009d0f66142a0d8.tar.gz tor-2b146bdb9af55931aa7cbabc6009d0f66142a0d8.zip |
Refrain from using SMARTLIST_DEL_CURRENT in retry_all_listeners
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mainloop/connection.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c index d8326a5be8..5ef140b6b3 100644 --- a/src/core/mainloop/connection.c +++ b/src/core/mainloop/connection.c @@ -2900,9 +2900,6 @@ retry_all_listeners(smartlist_t *new_conns, int close_all_noncontrol) "(replaced by %s:%d)", conn_type_to_string(old_conn->type), old_conn->address, old_conn->port, new_conn->address, new_conn->port); - - tor_free(r); - SMARTLIST_DEL_CURRENT(replacements, r); } SMARTLIST_FOREACH_END(r); #endif |