aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-09-27 21:30:10 +0000
committerNick Mathewson <nickm@torproject.org>2003-09-27 21:30:10 +0000
commit0e0169d6fa280f94f5e3f38a8d67b1cdb6452517 (patch)
tree381a2c736df86b2c2d6bfba2e213b105d381316c /src/or/connection.c
parentcb8212bfcb56980893993db5bd4098944735b38a (diff)
downloadtor-0e0169d6fa280f94f5e3f38a8d67b1cdb6452517.tar
tor-0e0169d6fa280f94f5e3f38a8d67b1cdb6452517.tar.gz
Write necessary backends for online directory generation. I think.
svn:r503
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 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);