Commit 499371d1 authored by Michael Graff's avatar Michael Graff
Browse files

call dns_rdataset_init() on temprdatasets returned from

dns_message_gettemprdataset().  This is the only way to
allow us to insist that they are not associated when
returned via puttemprdataset().
parent 3d12fa7e
...@@ -1768,6 +1768,8 @@ dns_message_gettemprdataset(dns_message_t *msg, dns_rdataset_t **item) ...@@ -1768,6 +1768,8 @@ dns_message_gettemprdataset(dns_message_t *msg, dns_rdataset_t **item)
if (*item == NULL) if (*item == NULL)
return (DNS_R_NOMEMORY); return (DNS_R_NOMEMORY);
dns_rdataset_init(*item);
return (DNS_R_SUCCESS); return (DNS_R_SUCCESS);
} }
......
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