aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_controller_events.c
diff options
context:
space:
mode:
authorJeremyRand <biolizard89@gmail.com>2019-11-12 17:13:04 +0000
committerJeremyRand <biolizard89@gmail.com>2019-11-12 17:13:04 +0000
commitf487da518a9828b194c8f1c8cf6da14955c6bdc4 (patch)
tree1a0293ce7ba8f2ffc28b3f84db50d3eb1a672067 /src/test/test_controller_events.c
parent736322ce6198f97957a83b89dcf57aab91ca9a97 (diff)
downloadtor-f487da518a9828b194c8f1c8cf6da14955c6bdc4.tar.gz
tor-f487da518a9828b194c8f1c8cf6da14955c6bdc4.zip
Bug 19859: Fix double-free in unit test
Diffstat (limited to 'src/test/test_controller_events.c')
-rw-r--r--src/test/test_controller_events.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/test_controller_events.c b/src/test/test_controller_events.c
index 148127cce0..9267aa0e43 100644
--- a/src/test/test_controller_events.c
+++ b/src/test/test_controller_events.c
@@ -663,8 +663,6 @@ test_cntev_format_stream(void *arg)
"ISO_FIELDS=DESTPORT,SOCKS_USERNAME,SOCKS_PASSWORD,NYM_EPOCH,"));
done:
- tor_free(username);
- tor_free(password);
tor_free(conndesc);
connection_free_minimal(ENTRY_TO_CONN(ec));
}