From 4101e6d31d08ca76a371c6961b6f3d15a5a06fc4 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Fri, 6 Oct 2017 12:21:27 -0700 Subject: [PATCH] [master] incorrect goto label --- lib/dns/zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index afdb7049a9..3395d68488 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -1076,7 +1076,7 @@ dns_zone_create(dns_zone_t **zonep, isc_mem_t *mctx) { /* Must be after magic is set. */ result = dns_zone_setdbtype(zone, dbargc_default, dbargv_default); if (result != ISC_R_SUCCESS) { - goto free_erefs; + goto free_stats; } ISC_EVENT_INIT(&zone->ctlevent, sizeof(zone->ctlevent), 0, NULL,