diff options
author | Roger Dingledine <arma@torproject.org> | 2004-09-29 06:52:36 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-09-29 06:52:36 +0000 |
commit | 136d4e573913480491e0c45ffe7ff6450cb107af (patch) | |
tree | 000b359e41d9c491f629831db2fe45af89d4448f /src/or/connection.c | |
parent | 6ed095b17769c56d8bd5c92d080e2a839c04b9e5 (diff) | |
download | tor-136d4e573913480491e0c45ffe7ff6450cb107af.tar tor-136d4e573913480491e0c45ffe7ff6450cb107af.tar.gz |
prefer tor_free to free
plus complain more loudly when we fail to parse a dir we just fetched
svn:r2401
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 839da4310..3ed6b8bc9 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -158,7 +158,7 @@ void connection_free(connection_t *conn) { tor_close_socket(conn->s); } memset(conn, 0xAA, sizeof(connection_t)); /* poison memory */ - free(conn); + tor_free(conn); } /** Call connection_free() on every connection in our array. |