diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-21 08:39:07 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-08 14:47:19 -0500 |
commit | 0792cc107ef588b9f9fa27165b73e19fbf07e92b (patch) | |
tree | 3194ccd5f53837a866288647b25f8c7b294cf22c /src/or/connection.c | |
parent | a48ba072a98a5d946079e2e0c15c84bb8c9d1a19 (diff) | |
download | tor-0792cc107ef588b9f9fa27165b73e19fbf07e92b.tar.gz tor-0792cc107ef588b9f9fa27165b73e19fbf07e92b.zip |
Convert connection_free to a nulling macro.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 8f2ddaa0e3..3c37c59b40 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2001 Matej Pfajfar. + /* Copyright (c) 2001 Matej Pfajfar. * Copyright (c) 2001-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2017, The Tor Project, Inc. */ @@ -675,7 +675,7 @@ connection_free_minimal(connection_t *conn) /** Make sure <b>conn</b> isn't in any of the global conn lists; then free it. */ MOCK_IMPL(void, -connection_free,(connection_t *conn)) +connection_free_,(connection_t *conn)) { if (!conn) return; |