Pass a memory context in to dns_cache_create

This commit is contained in:
Mark Andrews
2024-03-27 11:32:25 +11:00
parent 5e77edd074
commit 87e3b9dbf3
5 changed files with 9 additions and 14 deletions

View File

@@ -84,7 +84,7 @@ dns_test_makeview(const char *name, bool with_dispatchmgr, bool with_cache,
}
if (with_cache) {
result = dns_cache_create(loopmgr, dns_rdataclass_in, "",
result = dns_cache_create(loopmgr, dns_rdataclass_in, "", mctx,
&cache);
if (result != ISC_R_SUCCESS) {
dns_view_detach(&view);