提交 66bb371e 编写于 作者: M Michal Privoznik

virStoragePoolDefFree: Free @def->refresh

In 669018bc I've introduced def->refresh which might be
allocated by virStoragePoolDefRefreshParse() but is never freed.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 9cc92b1d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册