diff options
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 0604cd8f8..20522b848 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -110,6 +110,8 @@ void connection_free(connection_t *conn) { crypto_free_pk_env(conn->link_pkey); if (conn->identity_pkey) crypto_free_pk_env(conn->identity_pkey); + if (conn->nickname) + free(conn->nickname); if(conn->s > 0) { log_fn(LOG_INFO,"closing fd %d.",conn->s); |