提交 49b8d51e 编写于 作者: M Matthias Bolte

conf: Don't leak the virtual port profile in virNetworkDefFree

Reported by Alex Jia.
上级 a8be259d
...@@ -169,6 +169,8 @@ void virNetworkDefFree(virNetworkDefPtr def) ...@@ -169,6 +169,8 @@ void virNetworkDefFree(virNetworkDefPtr def)
virNetworkDNSDefFree(def->dns); virNetworkDNSDefFree(def->dns);
VIR_FREE(def->virtPortProfile);
virBandwidthDefFree(def->bandwidth); virBandwidthDefFree(def->bandwidth);
VIR_FREE(def); VIR_FREE(def);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册