aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_relay.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-22 11:39:33 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-11-22 15:50:13 -0500
commit3ed0b28a013b846e1b787c7dee3bdc7359c5e8bf (patch)
tree222ee3a953eb4743edcfdf93fbe676ffe22d045a /src/test/test_relay.c
parent08d0c39b914194127497f4f2b7dc9bd85e2becbb (diff)
downloadtor-3ed0b28a013b846e1b787c7dee3bdc7359c5e8bf.tar.gz
tor-3ed0b28a013b846e1b787c7dee3bdc7359c5e8bf.zip
test: Fix memleak of channel cmux
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_relay.c')
-rw-r--r--src/test/test_relay.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test_relay.c b/src/test/test_relay.c
index e3489627a0..73c0ed5586 100644
--- a/src/test/test_relay.c
+++ b/src/test/test_relay.c
@@ -67,10 +67,6 @@ test_relay_append_cell_to_circuit_queue(void *arg)
pchan = new_fake_channel();
tt_assert(pchan);
- /* We'll need chans with working cmuxes */
- nchan->cmux = circuitmux_alloc();
- pchan->cmux = circuitmux_alloc();
-
/* Make a fake orcirc */
orcirc = new_fake_orcirc(nchan, pchan);
tt_assert(orcirc);