From 1a9b1a0ad3e1e98a307c8a99211ebc3a94b4ac3e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 29 Dec 2019 10:12:23 -0800 Subject: 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. --- tests/sock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/sock.c') diff --git a/tests/sock.c b/tests/sock.c index cf3cc705..b6b981c8 100644 --- a/tests/sock.c +++ b/tests/sock.c @@ -82,6 +82,7 @@ test_send_nonblock(void) TEST_CHECK(nng_sendmsg(s1, msg, NNG_FLAG_NONBLOCK) == NNG_EAGAIN); TEST_CHECK(testutil_clock() < (now + 100)); TEST_CHECK(nng_close(s1) == 0); + nng_msg_free(msg); } void -- cgit v1.2.3-70-g09d2