diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-11 09:55:38 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-11 09:55:38 -0500 |
commit | c2822bbc63e4ba0dcd4f8939b03a5fe0d9a7031a (patch) | |
tree | e5fceaef0a898f205b3aea06a45d8b4b17526fba /src/test/test_hs_service.c | |
parent | 7803b19c43b02596c3393667ab1cba9571347823 (diff) | |
download | tor-c2822bbc63e4ba0dcd4f8939b03a5fe0d9a7031a.tar.gz tor-c2822bbc63e4ba0dcd4f8939b03a5fe0d9a7031a.zip |
Fix compilation of 23459 patch.
The free() changes of 23447 had broken the pending 23459 patch.
Diffstat (limited to 'src/test/test_hs_service.c')
-rw-r--r-- | src/test/test_hs_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 28830e9032..73200a5a63 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -825,7 +825,7 @@ test_closing_intro_circs(void *arg) /* Now pretend we are freeing this intro circuit. We want to see that our * destructor is not gonna kill our intro point structure since that's the * job of the cleanup routine. */ - circuit_free(TO_CIRCUIT(intro_circ)); + circuit_free_(TO_CIRCUIT(intro_circ)); intro_circ = NULL; entry = service_intro_point_find(service, &ip->auth_key_kp.pubkey); tt_assert(entry); @@ -857,7 +857,7 @@ test_closing_intro_circs(void *arg) done: if (intro_circ) { - circuit_free(TO_CIRCUIT(intro_circ)); + circuit_free_(TO_CIRCUIT(intro_circ)); } /* Frees the service object. */ hs_free_all(); |