qemu: Fix build without gnutls

"error" label in qemuMigrationCookieGraphicsAlloc is now used
unconditionally thanks to VIR_STRDUP.
This commit is contained in:
Jiri Denemark 2013-05-27 10:19:36 +02:00
parent 2697c8a116
commit c6f2523fb1
1 changed files with 0 additions and 2 deletions

View File

@ -324,9 +324,7 @@ qemuMigrationCookieGraphicsAlloc(virQEMUDriverPtr driver,
no_memory: no_memory:
virReportOOMError(); virReportOOMError();
#ifdef WITH_GNUTLS
error: error:
#endif
qemuMigrationCookieGraphicsFree(mig); qemuMigrationCookieGraphicsFree(mig);
virObjectUnref(cfg); virObjectUnref(cfg);
return NULL; return NULL;