diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 7f242f13e6..365f14b732 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -16453,7 +16453,7 @@ virDomainVcpuPinDel(virDomainDefPtr def, int vcpu) if (vcpupin_list[n]->vcpuid == vcpu) { virBitmapFree(vcpupin_list[n]->cpumask); VIR_FREE(vcpupin_list[n]); - VIR_DELETE_ELEMENT(vcpupin_list, n, def->cputune.nvcpupin); + VIR_DELETE_ELEMENT(def->cputune.vcpupin, n, def->cputune.nvcpupin); return; } }