]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virVBoxSnapshotConfSaveVboxFile: abort() on failure to allocate xmlDoc and comment
authorPeter Krempa <pkrempa@redhat.com>
Wed, 24 Feb 2021 10:28:56 +0000 (11:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Mar 2021 08:50:20 +0000 (09:50 +0100)
commite09c8527823673d65531a6d1ccd12a7cd9742ddd
tree9a67a65bcdadde39027fee3ee876d930f6445f67
parentc0e65398d9b77e660ab97a3c9e222bb989ddc839
virVBoxSnapshotConfSaveVboxFile: abort() on failure to allocate xmlDoc and comment

'xmlNewDoc' and 'xmlNewDocComment' return NULL only on allocation
failure. Attempting to raise an error is pointless.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/vbox/vbox_snapshot_conf.c