diff --git a/src/xen_internal.c b/src/xen_internal.c index 37c8736c0ecde5764edf3fdcc73e1db1d29df93e..b75b1e8ec09c00757ace795137cf3a186d6459ee 100644 --- a/src/xen_internal.c +++ b/src/xen_internal.c @@ -2205,7 +2205,7 @@ xenHypervisorBuildCapabilities(virConnectPtr conn, char const *const xen_machines[] = {guest_archs[i].hvm ? "xenfv" : "xenpv"}; virCapsGuestMachinePtr *machines; - if ((machines = virCapabiltiesAllocMachines(xen_machines, 1)) == NULL) + if ((machines = virCapabilitiesAllocMachines(xen_machines, 1)) == NULL) goto no_memory; if ((guest = virCapabilitiesAddGuest(caps,