aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_circuitmux.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_circuitmux.c
parent385558c32f666456ed10ed9dce3f4009437b015d (diff)
downloadtor-5246e8f99255b376ded3d90b3c7a345c4748e68c.tar.gz
tor-5246e8f99255b376ded3d90b3c7a345c4748e68c.zip
Remove lingering mempool code
Diffstat (limited to 'src/test/test_circuitmux.c')
-rw-r--r--src/test/test_circuitmux.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/test_circuitmux.c b/src/test/test_circuitmux.c
index 2a2a7ba145..6d93731eea 100644
--- a/src/test/test_circuitmux.c
+++ b/src/test/test_circuitmux.c
@@ -43,9 +43,6 @@ test_cmux_destroy_cell_queue(void *arg)
tor_libevent_initialize(&cfg);
scheduler_init();
-#ifdef ENABLE_MEMPOOLS
- init_cell_pool();
-#endif /* ENABLE_MEMPOOLS */
(void) arg;
cmux = circuitmux_alloc();
@@ -82,10 +79,6 @@ test_cmux_destroy_cell_queue(void *arg)
circuitmux_free(cmux);
channel_free(ch);
packed_cell_free(pc);
-
-#ifdef ENABLE_MEMPOOLS
- free_cell_pool();
-#endif /* ENABLE_MEMPOOLS */
}
struct testcase_t circuitmux_tests[] = {