BIND 10 master, updated. a9b140ed88b9a25f47e5649b635c8a19e81bfdee [master] use freeaddrinfo to free an addrinfo structure, not free. reported by Francis on bind10-dev. looks okay, directly pushing.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Oct 5 21:40:13 UTC 2011
The branch, master has been updated
via a9b140ed88b9a25f47e5649b635c8a19e81bfdee (commit)
from f5d7359a945241edf986b7c91c0ad6c7bcf113e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a9b140ed88b9a25f47e5649b635c8a19e81bfdee
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed Oct 5 14:39:27 2011 -0700
[master] use freeaddrinfo to free an addrinfo structure, not free.
reported by Francis on bind10-dev. looks okay, directly pushing.
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiolink/tests/io_endpoint_unittest.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiolink/tests/io_endpoint_unittest.cc b/src/lib/asiolink/tests/io_endpoint_unittest.cc
index f0279d1..c7283ec 100644
--- a/src/lib/asiolink/tests/io_endpoint_unittest.cc
+++ b/src/lib/asiolink/tests/io_endpoint_unittest.cc
@@ -219,7 +219,7 @@ sockAddrMatch(const struct sockaddr& actual_sa,
res->ai_addr->sa_len = actual_sa.sa_len;
#endif
EXPECT_EQ(0, memcmp(res->ai_addr, &actual_sa, res->ai_addrlen));
- free(res);
+ freeaddrinfo(res);
}
TEST(IOEndpointTest, getSockAddr) {
More information about the bind10-changes
mailing list