Commit 0157410e authored by Michael Graff's avatar Michael Graff
Browse files

initliaze view->link

parent e611814b
...@@ -92,6 +92,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, char *name, ...@@ -92,6 +92,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, char *name,
view->rdclass = rdclass; view->rdclass = rdclass;
view->frozen = ISC_FALSE; view->frozen = ISC_FALSE;
view->references = 1; view->references = 1;
ISC_LINK_INIT(view, link);
view->magic = DNS_VIEW_MAGIC; view->magic = DNS_VIEW_MAGIC;
*viewp = view; *viewp = view;
......
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