mirror of https://gitee.com/openkylin/libvirt.git
virStorageSourceClear: Clear 'vdpadev' field
Release memory for the recently added field.
Fixes: 1df106cc20
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->fdgroup);
|
||||
VIR_FREE(def->volume);
|
||||
VIR_FREE(def->vdpadev);
|
||||
VIR_FREE(def->snapshot);
|
||||
VIR_FREE(def->configFile);
|
||||
VIR_FREE(def->query);
|
||||
|
|
Loading…
Reference in New Issue