Commit 4eadebe2 authored by Mark Andrews's avatar Mark Andrews
Browse files

uninitalize memory read on error path

parent 93776c4c
Pipeline #6649 passed with stages
in 12 minutes and 52 seconds
......@@ -149,7 +149,7 @@ dns_ntatable_create(dns_view_t *view,
isc_task_detach(&ntatable->task);
cleanup_ntatable:
isc_mem_put(ntatable->view->mctx, ntatable, sizeof(*ntatable));
isc_mem_put(view->mctx, ntatable, sizeof(*ntatable));
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