mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-22 19:18:56 -04:00
Merge branch '1991-cleanup-redundant-non-null-check-v9_16' into 'v9_16'
remove redundant rctx != NULL check See merge request isc-projects/bind9!3805
This commit is contained in:
commit
b10416d87e
1 changed files with 2 additions and 4 deletions
|
|
@ -1416,10 +1416,8 @@ cleanup:
|
|||
if (sigrdataset != NULL) {
|
||||
putrdataset(client->mctx, &sigrdataset);
|
||||
}
|
||||
if (rctx != NULL) {
|
||||
isc_mutex_destroy(&rctx->lock);
|
||||
isc_mem_put(mctx, rctx, sizeof(*rctx));
|
||||
}
|
||||
isc_mutex_destroy(&rctx->lock);
|
||||
isc_mem_put(mctx, rctx, sizeof(*rctx));
|
||||
isc_event_free(ISC_EVENT_PTR(&event));
|
||||
isc_task_detach(&tclone);
|
||||
dns_view_detach(&view);
|
||||
|
|
|
|||
Loading…
Reference in a new issue