mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
virStorageSourceClear: Clear 'vdpadev' field
Release memory for the recently added field. Fixes: 1df106cc20a4cc6417cfbaf01860f465ec3dd915 Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
4ef2bcfd3f
commit
85205784e6
@ -1143,6 +1143,7 @@ virStorageSourceClear(virStorageSource *def)
|
|||||||
VIR_FREE(def->path);
|
VIR_FREE(def->path);
|
||||||
VIR_FREE(def->fdgroup);
|
VIR_FREE(def->fdgroup);
|
||||||
VIR_FREE(def->volume);
|
VIR_FREE(def->volume);
|
||||||
|
VIR_FREE(def->vdpadev);
|
||||||
VIR_FREE(def->snapshot);
|
VIR_FREE(def->snapshot);
|
||||||
VIR_FREE(def->configFile);
|
VIR_FREE(def->configFile);
|
||||||
VIR_FREE(def->query);
|
VIR_FREE(def->query);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user