提交 69e433bc 编写于 作者: J John Ferlan

qemu_driver: Resolve Coverity RESOURCE_LEAK

Coverity found that the 'buf' wasn't VIR_FREE'd at exit.
上级 bc992995
......@@ -10516,6 +10516,7 @@ qemuDomainGetBlockInfo(virDomainPtr dom,
}
cleanup:
VIR_FREE(buf);
VIR_FREE(alias);
virStorageSourceFree(meta);
VIR_FORCE_CLOSE(fd);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册