2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Merge branch '2509-cid-281489-resource-leaks-resource_leak' into 'main'

Resolve "CID 281489:  Resource leaks  (RESOURCE_LEAK)"

Closes #2509

See merge request isc-projects/bind9!4723
This commit is contained in:
Mark Andrews
2021-02-22 22:39:23 +00:00

View File

@@ -980,7 +980,8 @@ dns_dt_open(const char *filename, dns_dtmode_t mode, isc_mem_t *mctx,
}
break;
case dns_dtmode_unix:
return (ISC_R_NOTIMPLEMENTED);
result = ISC_R_NOTIMPLEMENTED;
goto cleanup;
default:
INSIST(0);
ISC_UNREACHABLE();