mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
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
@ -324,9 +324,7 @@ qemuMigrationCookieGraphicsAlloc(virQEMUDriverPtr driver,
|
||||
|
||||
no_memory:
|
||||
virReportOOMError();
|
||||
#ifdef WITH_GNUTLS
|
||||
error:
|
||||
#endif
|
||||
qemuMigrationCookieGraphicsFree(mig);
|
||||
virObjectUnref(cfg);
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user