summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-03-24 12:25:05 -0400
committerNick Mathewson <nickm@torproject.org>2021-03-24 12:25:05 -0400
commitc359c3056b2dbf17987a8955af30884ee438108e (patch)
treee44e63a8fabf3b67826f3952bdeabf7d5b311d87 /src
parent59bbf8cde9144ee5c8d060959e723a4bedfd6bb8 (diff)
parent9ca2394d6b51242bb5cf380757be5869d2a44c3c (diff)
downloadtor-c359c3056b2dbf17987a8955af30884ee438108e.tar.gz
tor-c359c3056b2dbf17987a8955af30884ee438108e.zip
Merge branch 'maint-0.4.4' into maint-0.4.5
Diffstat (limited to 'src')
-rw-r--r--src/core/or/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/channel.c b/src/core/or/channel.c
index 26c93d169f..1ac029c152 100644
--- a/src/core/or/channel.c
+++ b/src/core/or/channel.c
@@ -1882,11 +1882,11 @@ channel_do_open_actions(channel_t *chan)
geoip_note_client_seen(GEOIP_CLIENT_CONNECT,
&remote_addr, transport_name,
now);
- tor_free(transport_name);
/* Notify the DoS subsystem of a new client. */
if (tlschan && tlschan->conn) {
dos_new_client_conn(tlschan->conn, transport_name);
}
+ tor_free(transport_name);
}
/* Otherwise the underlying transport can't tell us this, so skip it */
}