]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Check error from virXMLFormatElement call
authorJohn Ferlan <jferlan@redhat.com>
Fri, 8 Jun 2018 17:07:55 +0000 (13:07 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 11 Jun 2018 22:33:13 +0000 (18:33 -0400)
commitc1aaa253d2c03d52bf2ad7c815e992721bf49ab2
treee8c0fa70c91f4182e62f7e5ac477fc95f58d372a
parent05c41f4f1d47f97c979a94e2fea2c9186a8f9196
conf: Check error from virXMLFormatElement call

Commit id 1bd5a08d added a call to virXMLFormatElement without
also checking the return status.

Found by Coverity.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Katerina Koukiou <kkoukiou@redhat.com>
src/conf/domain_conf.c