[tor/master] Bug 19859: Fix double-free in unit test

25 Nov
2019
25 Nov
'19
1:41 p.m.
commit f487da518a9828b194c8f1c8cf6da14955c6bdc4 Author: JeremyRand <biolizard89@gmail.com> Date: Tue Nov 12 17:13:04 2019 +0000 Bug 19859: Fix double-free in unit test --- src/test/test_controller_events.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/test_controller_events.c b/src/test/test_controller_events.c index 148127cce..9267aa0e4 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)); }
2031
Age (days ago)
2031
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org