Commit 5c47dd82 authored by Mark Andrews's avatar Mark Andrews Committed by Evan Hunt
Browse files

uninitalize memory read on error path

(cherry picked from commit 4eadebe2)
parent 6b409b89
Pipeline #6677 passed with stages
in 9 minutes and 17 seconds
......@@ -150,7 +150,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