From: John Ferlan Date: Thu, 4 Sep 2014 21:21:37 +0000 (-0400) Subject: libxl: Resolve Coverity NULL_RETURNS X-Git-Tag: CVE-2014-3633~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff57f7475733c67e6ab643614f2cd2eba45404d;p=thirdparty%2Flibvirt.git libxl: Resolve Coverity NULL_RETURNS With all the changes in my previous foray into this code, I forgot to remove the libxlDomainEventQueue(driver, event); call inside the dom == NULL condition. Signed-off-by: John Ferlan --- diff --git a/src/libxl/libxl_migration.c b/src/libxl/libxl_migration.c index b5d8edfcb7..0b562f7595 100644 --- a/src/libxl/libxl_migration.c +++ b/src/libxl/libxl_migration.c @@ -527,7 +527,6 @@ libxlDomainMigrationFinish(virConnectPtr dconn, libxlDomainCleanup(driver, vm, VIR_DOMAIN_SHUTOFF_FAILED); event = virDomainEventLifecycleNewFromObj(vm, VIR_DOMAIN_EVENT_STOPPED, VIR_DOMAIN_EVENT_STOPPED_FAILED); - libxlDomainEventQueue(driver, event); } cleanup: