aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_relay.c
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-02-21 17:18:20 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-23 11:19:31 -0500
commit5246e8f99255b376ded3d90b3c7a345c4748e68c (patch)
tree29959cb325f3f95a2fc051cf3395e82208bb8a0c /src/test/test_relay.c
parent385558c32f666456ed10ed9dce3f4009437b015d (diff)
downloadtor-5246e8f99255b376ded3d90b3c7a345c4748e68c.tar.gz
tor-5246e8f99255b376ded3d90b3c7a345c4748e68c.zip
Remove lingering mempool code
Diffstat (limited to 'src/test/test_relay.c')
-rw-r--r--src/test/test_relay.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/test_relay.c b/src/test/test_relay.c
index 2144ef335e..6081956d46 100644
--- a/src/test/test_relay.c
+++ b/src/test/test_relay.c
@@ -60,11 +60,6 @@ test_relay_append_cell_to_circuit_queue(void *arg)
(void)arg;
- /* We'll need the cell pool for append_cell_to_circuit_queue() to work */
-#ifdef ENABLE_MEMPOOLS
- init_cell_pool();
-#endif /* ENABLE_MEMPOOLS */
-
/* Make fake channels to be nchan and pchan for the circuit */
nchan = new_fake_channel();
tt_assert(nchan);
@@ -119,9 +114,6 @@ test_relay_append_cell_to_circuit_queue(void *arg)
tor_free(orcirc);
free_fake_channel(nchan);
free_fake_channel(pchan);
-#ifdef ENABLE_MEMPOOLS
- free_cell_pool();
-#endif /* ENABLE_MEMPOOLS */
return;
}