aboutsummaryrefslogtreecommitdiff
path: root/tests/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sock.c')
-rw-r--r--tests/sock.c1
1 files changed, 1 insertions, 0 deletions
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