Commit 0c18eb47 authored by Mark Andrews's avatar Mark Andrews
Browse files

4619. [bug] Call isc_mem_put instead of isc_mem_free in

                        bin/named/server.c:setup_newzones. [RT #45202]
parent d242bf39
4619. [bug] Call isc_mem_put instead of isc_mem_free in
bin/named/server.c:setup_newzones. [RT #45202]
4618. [bug] Check isc_mem_strdup results in dns_view_setnewzones.
Add logging for lmdb call failures. [RT #45204]
......
......@@ -6725,7 +6725,7 @@ setup_newzones(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
result = dns_view_setnewzones(view, ISC_TRUE, nzcfg,
newzone_cfgctx_destroy, mapsize);
if (result != ISC_R_SUCCESS) {
isc_mem_free(view->mctx, nzcfg);
isc_mem_put(view->mctx, nzcfg, sizeof(*nzcfg));
return (result);
}
......
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