summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 1c3bf4cbc0..a2a4c8df44 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -886,6 +886,8 @@ retry_listeners(int type, config_line_t *cfg,
log_fn(LOG_INFO, "Already have %s on %s:%d",
conn_type_to_string(type), conn->address, conn->port);
smartlist_remove(launch, line);
+ if (free_launch_elts)
+ config_free_lines(line);
}
}