提交 65cb40a0 编写于 作者: M Michal Privoznik

virDomainDefParseXML: Free @tmp

When parsing <ioapic> feature we're using @tmp to store some
temporary string but never free it.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 5619c93c
......@@ -17892,6 +17892,7 @@ virDomainDefParseXML(xmlDocPtr xml,
}
def->ioapic = value;
def->features[val] = VIR_TRISTATE_SWITCH_ON;
VIR_FREE(tmp);
}
ctxt->node = node;
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册