]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix build without gnutls v1.0.6-rc1
authorJiri Denemark <jdenemar@redhat.com>
Mon, 27 May 2013 08:19:36 +0000 (10:19 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 27 May 2013 08:19:36 +0000 (10:19 +0200)
"error" label in qemuMigrationCookieGraphicsAlloc is now used
unconditionally thanks to VIR_STRDUP.

src/qemu/qemu_migration.c

index 73ced73c18178058aec8013929b31cc03f713c3b..19b1236bf766a1e608acb4ca1a0d2a0e905d1e89 100644 (file)
@@ -324,9 +324,7 @@ qemuMigrationCookieGraphicsAlloc(virQEMUDriverPtr driver,
 
 no_memory:
     virReportOOMError();
-#ifdef WITH_GNUTLS
 error:
-#endif
     qemuMigrationCookieGraphicsFree(mig);
     virObjectUnref(cfg);
     return NULL;