]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ch: check return value of virJSONValueArrayAppend
authorJán Tomko <jtomko@redhat.com>
Wed, 6 Nov 2024 13:03:27 +0000 (14:03 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 6 Nov 2024 16:12:32 +0000 (17:12 +0100)
commite45313c031574814c392539e57993a02289ac6b3
tree94f0b5851869afc909257a8fffbcd4162a8631c3
parentda66bf53b09ee8f5facacae700638a9a6f3a2477
ch: check return value of virJSONValueArrayAppend

It only errors out when presented with a non-array, but we do check
it everywhere else.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/ch/ch_monitor.c