Commit 302c7bee authored by Luca Boccassi's avatar Luca Boccassi

Problem: test_fork does not clean up at exit

Solution: close socket and destroy context to reduce Valgrind noise
parent f87888f8
......@@ -86,6 +86,8 @@ int main (void)
assert (WEXITSTATUS (child_status) == 0);
break;
}
zmq_close (pull);
zmq_ctx_term (ctx);
exit (0);
}
#endif
......
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