"virHashNew" cannot return NULL, yet we check for NULL in various places. See https://listman.redhat.com/archives/libvir-list/2021-July/msg00074.html. Tim Wiederhake (10): testCompareXMLToArgvFiles: `virHashNew` cannot return NULL testQemuMonitorJSONqemuMonitorJSONGetAllBlockStatsInfo: Use automatic memory management testQemuMonitorJSONqemuMonitorJSONGetAllBlockStatsInfo: Remove superfluous `goto`s testQemuMonitorJSONqemuMonitorJSONGetAllBlockStatsInfo: `virHashNew` cannot return NULL testQemuMonitorJSONqemuMonitorJSONGetBlockInfo: Use automatic memory management testQemuMonitorJSONqemuMonitorJSONGetBlockInfo: Remove superfluous `goto`s testQemuMonitorJSONqemuMonitorJSONGetBlockInfo: `virHashNew` cannot return NULL testQemuMonitorJSONqemuMonitorJSONGetChardevInfo: Use automatic memory management testQemuMonitorJSONqemuMonitorJSONGetChardevInfo: Remove superfluous `goto`s testQemuMonitorJSONqemuMonitorJSONGetChardevInfo: `virHashNew` cannot return NULL tests/nwfilterxml2firewalltest.c | 3 -- tests/qemumonitorjsontest.c | 73 +++++++++++--------------------- 2 files changed, 24 insertions(+), 52 deletions(-) -- 2.31.1