mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-22 17:30:44 -05:00
uninitalize memory read on error path
This commit is contained in:
parent
93776c4c81
commit
4eadebe2b2
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue