diff --git a/tests/test_system.cpp b/tests/test_system.cpp index e82d5b10..60c32ddd 100644 --- a/tests/test_system.cpp +++ b/tests/test_system.cpp @@ -97,4 +97,7 @@ int main (void) for (count = 0; count < 1000; count++) { close(handle[count]); } + + zmq_close(dealer); + zmq_ctx_term(ctx); }