diff --git a/bin/tests/wire_test.c b/bin/tests/wire_test.c index 664b6dc49d..20510fc2c0 100644 --- a/bin/tests/wire_test.c +++ b/bin/tests/wire_test.c @@ -81,6 +81,7 @@ getname(isc_buffer_t *source) { isc_buffer_init(&target, t, 255, ISC_BUFFERTYPE_BINARY); isc_buffer_init(&text, c, 255, ISC_BUFFERTYPE_TEXT); + dns_name_init(&name, NULL); current = source->current; result = dns_name_fromwire(&name, source, &dctx, ISC_FALSE, &target);