mirror of https://gitee.com/openkylin/libvirt.git
qemu: Fix build without gnutls
"error" label in qemuMigrationCookieGraphicsAlloc is now used unconditionally thanks to VIR_STRDUP.
This commit is contained in:
parent
2697c8a116
commit
c6f2523fb1
src/qemu
|
@ -324,9 +324,7 @@ qemuMigrationCookieGraphicsAlloc(virQEMUDriverPtr driver,
|
|||
|
||||
no_memory:
|
||||
virReportOOMError();
|
||||
#ifdef WITH_GNUTLS
|
||||
error:
|
||||
#endif
|
||||
qemuMigrationCookieGraphicsFree(mig);
|
||||
virObjectUnref(cfg);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue