mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
virStoragePoolDefFree: Free @def->refresh
In 669018bc9c
I've introduced def->refresh which might be
allocated by virStoragePoolDefRefreshParse() but is never freed.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
9cc92b1db9
commit
66bb371e8e
@ -509,6 +509,7 @@ virStoragePoolDefFree(virStoragePoolDefPtr def)
|
||||
|
||||
VIR_FREE(def->target.path);
|
||||
VIR_FREE(def->target.perms.label);
|
||||
VIR_FREE(def->refresh);
|
||||
if (def->namespaceData && def->ns.free)
|
||||
(def->ns.free)(def->namespaceData);
|
||||
VIR_FREE(def);
|
||||
|
Loading…
Reference in New Issue
Block a user