mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Merge branch '3972-delv-coverity-fixes' into 'main'
address coverity warnings in delv Closes #3972 See merge request isc-projects/bind9!7780
This commit is contained in:
@@ -2088,12 +2088,6 @@ sendquery(void *arg) {
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
if (message != NULL) {
|
if (message != NULL) {
|
||||||
if (mname != NULL) {
|
|
||||||
dns_message_puttempname(message, &mname);
|
|
||||||
}
|
|
||||||
if (mrdataset != NULL) {
|
|
||||||
dns_message_puttemprdataset(message, &mrdataset);
|
|
||||||
}
|
|
||||||
dns_message_detach(&message);
|
dns_message_detach(&message);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2123,7 +2117,7 @@ run_server(void *arg) {
|
|||||||
|
|
||||||
UNUSED(arg);
|
UNUSED(arg);
|
||||||
|
|
||||||
inet_pton(AF_INET, "127.0.0.1", &in);
|
RUNTIME_CHECK(inet_pton(AF_INET, "127.0.0.1", &in));
|
||||||
isc_sockaddr_fromin(&addr, &in, 0);
|
isc_sockaddr_fromin(&addr, &in, 0);
|
||||||
|
|
||||||
CHECK(ns_server_create(mctx, matchview, &sctx));
|
CHECK(ns_server_create(mctx, matchview, &sctx));
|
||||||
|
Reference in New Issue
Block a user