]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* src/node_device_conf.c: fix a leak, patch by Dave Allan
authorDaniel Veillard <veillard@redhat.com>
Thu, 25 Jun 2009 14:51:21 +0000 (14:51 +0000)
committerDaniel Veillard <veillard@redhat.com>
Thu, 25 Jun 2009 14:51:21 +0000 (14:51 +0000)
daniel

ChangeLog
src/node_device_conf.c

index 2a5f21070f34505662f1ac6de868407b98e6ae15..314042004f367c8bbf518576950486023a568486 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * src/qemu_driver.c: fix a domain state problem after
index 1fbf9dc891706c56723a0b2f9680cc67bdafd032..56a9bb53a30714aca66041101145e84905cfcf39 100644 (file)
@@ -1203,6 +1203,8 @@ void virNodeDevCapsDefFree(virNodeDevCapsDefPtr caps)
         VIR_FREE(data->net.address);
         break;
     case VIR_NODE_DEV_CAP_SCSI_HOST:
+        VIR_FREE(data->scsi_host.wwnn);
+        VIR_FREE(data->scsi_host.wwpn);
         break;
     case VIR_NODE_DEV_CAP_SCSI:
         VIR_FREE(data->scsi.type);