mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
Merge branch '1991-cleanup-redundant-non-null-check' into 'main'
Resolve "Cleanup redundant non-NULL check." Closes #1991 See merge request isc-projects/bind9!3791
This commit is contained in:
@@ -1407,10 +1407,8 @@ cleanup:
|
|||||||
if (sigrdataset != NULL) {
|
if (sigrdataset != NULL) {
|
||||||
putrdataset(client->mctx, &sigrdataset);
|
putrdataset(client->mctx, &sigrdataset);
|
||||||
}
|
}
|
||||||
if (rctx != NULL) {
|
|
||||||
isc_mutex_destroy(&rctx->lock);
|
isc_mutex_destroy(&rctx->lock);
|
||||||
isc_mem_put(mctx, rctx, sizeof(*rctx));
|
isc_mem_put(mctx, rctx, sizeof(*rctx));
|
||||||
}
|
|
||||||
isc_event_free(ISC_EVENT_PTR(&event));
|
isc_event_free(ISC_EVENT_PTR(&event));
|
||||||
isc_task_detach(&tclone);
|
isc_task_detach(&tclone);
|
||||||
dns_view_detach(&view);
|
dns_view_detach(&view);
|
||||||
|
Reference in New Issue
Block a user