mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +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:
commit
426eb4ffd2
@ -2088,12 +2088,6 @@ sendquery(void *arg) {
|
||||
|
||||
cleanup:
|
||||
if (message != NULL) {
|
||||
if (mname != NULL) {
|
||||
dns_message_puttempname(message, &mname);
|
||||
}
|
||||
if (mrdataset != NULL) {
|
||||
dns_message_puttemprdataset(message, &mrdataset);
|
||||
}
|
||||
dns_message_detach(&message);
|
||||
}
|
||||
|
||||
@ -2123,7 +2117,7 @@ run_server(void *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);
|
||||
|
||||
CHECK(ns_server_create(mctx, matchview, &sctx));
|
||||
|
Loading…
x
Reference in New Issue
Block a user