mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
Remove bogus free of static strings
Remove bogus free of statically allocated strings introduced
in 03ca42046a
* src/conf/capabilities.c: Don't free static strings for
default disk driver type/name
This commit is contained in:
parent
f0c8e1cb37
commit
4d13418890
@ -175,9 +175,6 @@ virCapabilitiesFree(virCapsPtr caps) {
|
|||||||
VIR_FREE(caps->host.secModel.doi);
|
VIR_FREE(caps->host.secModel.doi);
|
||||||
virCPUDefFree(caps->host.cpu);
|
virCPUDefFree(caps->host.cpu);
|
||||||
|
|
||||||
VIR_FREE(caps->defaultDiskDriverName);
|
|
||||||
VIR_FREE(caps->defaultDiskDriverType);
|
|
||||||
|
|
||||||
VIR_FREE(caps);
|
VIR_FREE(caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user