Commit cffc6535 authored by Luca Boccassi's avatar Luca Boccassi

Problem: test_pre_allocated_fd_tcp leaks addrinfo

Solution: free addrinfo to reduce Valgrind noise
parent 05ad9152
......@@ -55,6 +55,8 @@ void pre_allocate_sock (void *zmq_socket, const char *address,
rc = zmq_setsockopt (zmq_socket, ZMQ_USE_FD, &s_pre,
sizeof (s_pre));
assert(rc == 0);
freeaddrinfo(addr);
}
void test_req_rep ()
......
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