Commit b10416d8 authored by Mark Andrews's avatar Mark Andrews
Browse files

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
parents 4c5ce870 244ebdfb
......@@ -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);
......
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