Commit e177512c authored by Luca Boccassi's avatar Luca Boccassi

Problem: test_system does not clean up at exit

Solution: close socket and destroy context to reduce Valgrind noise
parent 18dcc32a
...@@ -97,4 +97,7 @@ int main (void) ...@@ -97,4 +97,7 @@ int main (void)
for (count = 0; count < 1000; count++) { for (count = 0; count < 1000; count++) {
close(handle[count]); close(handle[count]);
} }
zmq_close(dealer);
zmq_ctx_term(ctx);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment