On a Monday in 2025, Peter Krempa wrote:
virXMLNodeGetSubelementList always returns a non-NULL pointers thus
we
should check the lenght instead.
*length
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/conf/domain_conf.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano