diff --git a/tests/test_unbind_inproc.cpp b/tests/test_unbind_inproc.cpp index 104d8cb3..2b1d8982 100644 --- a/tests/test_unbind_inproc.cpp +++ b/tests/test_unbind_inproc.cpp @@ -33,6 +33,9 @@ int main (void) rc = zmq_unbind (sb, "inproc://a"); assert (rc == 0); + rc = zmq_close (sb); + assert (rc == 0); + rc = zmq_ctx_term (ctx); assert (rc == 0); diff --git a/tests/test_unbind_wildcard.cpp b/tests/test_unbind_wildcard.cpp index 1a4e72a0..dae1d423 100644 --- a/tests/test_unbind_wildcard.cpp +++ b/tests/test_unbind_wildcard.cpp @@ -38,6 +38,9 @@ int main (void) rc = zmq_unbind (sb, endpoint); assert (rc == 0); + rc = zmq_close (sb); + assert (rc == 0); + rc = zmq_ctx_term (ctx); assert (rc == 0);