]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: call EndJob in error case
authorJim Fehlig <jfehlig@suse.com>
Fri, 16 Mar 2018 21:22:45 +0000 (15:22 -0600)
committerJim Fehlig <jfehlig@suse.com>
Wed, 21 Mar 2018 18:40:21 +0000 (12:40 -0600)
commit13e81fc6fad03aa6b6ecf4230f44b2ea55078229
tree9cd967f22c9b03c8e21252f3ae4ceaade1881c23
parent3c89868c5fef3d0cfbc40d0185447d13a6242620
libxl: call EndJob in error case

If starting the domain fails in libxlDomainCreateXML, we mistakenly
jumped to cleanup without calling libxlDomainObjEndJob. Remove the
jump to 'cleanup'.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/libxl/libxl_driver.c