In 669018bc9cb I've introduced def->refresh which might be
allocated by virStoragePoolDefRefreshParse() but is never freed.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Pushed under trivial rule.
src/conf/storage_conf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
index b797a405f7..7dff566641 100644
--- a/src/conf/storage_conf.c
+++ b/src/conf/storage_conf.c
@@ -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);
--
2.19.2
Show replies by date