提交 cc7499dd 编写于 作者: D Daniel Veillard

* src/node_device_conf.c: fix a leak, patch by Dave Allan

daniel
上级 d45242c6
Thu Jun 25 16:50:54 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/node_device_conf.c: fix a leak, patch by Dave Allan
Thu Jun 25 15:46:11 CEST 2009 Daniel Veillard <veillard@redhat.com> Thu Jun 25 15:46:11 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/qemu_driver.c: fix a domain state problem after * src/qemu_driver.c: fix a domain state problem after
......
...@@ -1203,6 +1203,8 @@ void virNodeDevCapsDefFree(virNodeDevCapsDefPtr caps) ...@@ -1203,6 +1203,8 @@ void virNodeDevCapsDefFree(virNodeDevCapsDefPtr caps)
VIR_FREE(data->net.address); VIR_FREE(data->net.address);
break; break;
case VIR_NODE_DEV_CAP_SCSI_HOST: case VIR_NODE_DEV_CAP_SCSI_HOST:
VIR_FREE(data->scsi_host.wwnn);
VIR_FREE(data->scsi_host.wwpn);
break; break;
case VIR_NODE_DEV_CAP_SCSI: case VIR_NODE_DEV_CAP_SCSI:
VIR_FREE(data->scsi.type); VIR_FREE(data->scsi.type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册