mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -175,9 +175,6 @@ virCapabilitiesFree(virCapsPtr caps) {
|
||||
VIR_FREE(caps->host.secModel.doi);
|
||||
virCPUDefFree(caps->host.cpu);
|
||||
|
||||
VIR_FREE(caps->defaultDiskDriverName);
|
||||
VIR_FREE(caps->defaultDiskDriverType);
|
||||
|
||||
VIR_FREE(caps);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user