[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Bug 19859: Fix double-free in unit test
commit f487da518a9828b194c8f1c8cf6da14955c6bdc4
Author: JeremyRand <biolizard89@xxxxxxxxx>
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));
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits