From afb792bd3807b74576603a70d545ee9cad2083ba Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 5 Nov 2015 15:23:37 +0100 Subject: [PATCH] qemu: migration: Actually error out on unsupported migration flag The code reported that a migration flag is unsupported but didn't jump to the error label. Probably an oversight in commit f88af9dc that introduced the flag checking. --- src/qemu/qemu_migration.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index a53a53369a..e8ffde0d2d 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -1236,6 +1236,7 @@ qemuMigrationCookieXMLParse(qemuMigrationCookiePtr mig, _("Unsupported migration cookie feature %s"), str); VIR_FREE(str); + goto error; } VIR_FREE(str); } -- 2.39.5