mirror of
https://github.com/zeromq/libzmq.git
synced 2025-09-26 15:59:34 +02:00
be pedantic and call zmq_close in tests
This commit is contained in:
parent
d14f419743
commit
0f208c122d
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user