aboutsummaryrefslogtreecommitdiff
path: root/tests/tcpsupp.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-12-29 10:12:23 -0800
committerGarrett D'Amore <garrett@damore.org>2019-12-29 10:12:23 -0800
commit1a9b1a0ad3e1e98a307c8a99211ebc3a94b4ac3e (patch)
tree247a13ce5bdbbba8bff80954b76057dca8eb4c24 /tests/tcpsupp.c
parentaed9697d71798d923443f3fb6297cecf89bc4218 (diff)
downloadnng-1a9b1a0ad3e1e98a307c8a99211ebc3a94b4ac3e.tar.gz
nng-1a9b1a0ad3e1e98a307c8a99211ebc3a94b4ac3e.tar.bz2
nng-1a9b1a0ad3e1e98a307c8a99211ebc3a94b4ac3e.zip
fixes #1065 resolver leaks work structures
This includes changes to support setting the sanitizer *correctly* (the old code CMake stuff didn't quite get it right), and addresses a number of failures in the test code found by the address sanitizer.
Diffstat (limited to 'tests/tcpsupp.c')
-rw-r--r--tests/tcpsupp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcpsupp.c b/tests/tcpsupp.c
index e25383c5..39558f58 100644
--- a/tests/tcpsupp.c
+++ b/tests/tcpsupp.c
@@ -66,6 +66,7 @@ TestMain("Supplemental TCP", {
Reset({
nng_aio_free(daio);
nng_aio_free(laio);
+ nng_aio_free(maio);
if (c1 != NULL) {
nng_stream_close(c1);
nng_stream_free(c1);