提交 fb49ffc3 编写于 作者: P Peter Krempa

conf: cpu: Fix memory leak when specifying cpu vendor_id manually

The field was not freed from the cpu definition.
上级 1190a824
......@@ -87,6 +87,7 @@ virCPUDefFree(virCPUDefPtr def)
VIR_FREE(def->cells[i].cpustr);
}
VIR_FREE(def->cells);
VIR_FREE(def->vendor_id);
VIR_FREE(def);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册