summaryrefslogtreecommitdiff
path: root/hesiod
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-11-15 08:22:03 +0000
committerJakub Jelinek <jakub@redhat.com>2005-11-15 08:22:03 +0000
commit22d7fbdbae4032639461a7a081762a05deee0529 (patch)
treeff70bd4613f1f05823b2417b2687449d73ac45b0 /hesiod
parent1beea155aecf2e7d6bfa1399b7c0f4f53dde408c (diff)
Updated to fedora-glibc-20051115T0809
Diffstat (limited to 'hesiod')
-rw-r--r--hesiod/hesiod.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hesiod/hesiod.c b/hesiod/hesiod.c
index b73aa3ce94..b3706b506b 100644
--- a/hesiod/hesiod.c
+++ b/hesiod/hesiod.c
@@ -487,12 +487,6 @@ __hesiod_res_set(void *context, struct __res_state *res,
if (ctx->res && ctx->free_res) {
res_nclose(ctx->res);
- if ((ctx->res->options & RES_INIT) && ctx->res->nscount > 0) {
- for (int ns = 0; ns < MAXNS; ns++) {
- free (ctx->res->_u._ext.nsaddrs[ns]);
- ctx->res->_u._ext.nsaddrs[ns] = NULL;
- }
- }
(*ctx->free_res)(ctx->res);
}