2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Merge branch '2508-cid-320481-null-pointer-dereferences-reverse_inull' into 'main'

Resolve "CID 320481:  Null pointer dereferences  (REVERSE_INULL)"

Closes #2508

See merge request isc-projects/bind9!4722
This commit is contained in:
Mark Andrews
2021-02-23 13:04:38 +00:00

View File

@@ -258,9 +258,7 @@ main(int argc, char *argv[]) {
process_message(input); process_message(input);
} }
if (input != NULL) { isc_buffer_free(&input);
isc_buffer_free(&input);
}
if (printmemstats) { if (printmemstats) {
isc_mem_stats(mctx, stdout); isc_mem_stats(mctx, stdout);