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

daniel
This commit is contained in:
Daniel Veillard 2009-06-25 14:51:21 +00:00
parent d45242c616
commit cc7499dd03
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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);