mirror of https://gitee.com/openkylin/libvirt.git
conf: Remove redundant free in virCPUDefFree
vendor_id is (and always was) already freed in virCPUDefFreeModel.
This effectively reverts commit fb49ffc3
.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
0b224cce8b
commit
70a576899a
|
@ -77,9 +77,6 @@ virCPUDefFree(virCPUDefPtr def)
|
|||
return;
|
||||
|
||||
virCPUDefFreeModel(def);
|
||||
|
||||
VIR_FREE(def->vendor_id);
|
||||
|
||||
VIR_FREE(def);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue