Commit a9b140ed authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] use freeaddrinfo to free an addrinfo structure, not free.

reported by Francis on bind10-dev.  looks okay, directly pushing.
parent f5d7359a
......@@ -219,7 +219,7 @@ sockAddrMatch(const struct sockaddr& actual_sa,
res->ai_addr->sa_len = actual_sa.sa_len;
EXPECT_EQ(0, memcmp(res->ai_addr, &actual_sa, res->ai_addrlen));
TEST(IOEndpointTest, getSockAddr) {
Supports Markdown
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