]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
conf: remove duplicate call to VIR_FREE(info->alias)
authorLaine Stump <laine@laine.org>
Wed, 25 Jan 2012 16:40:13 +0000 (11:40 -0500)
committerLaine Stump <laine@laine.org>
Mon, 30 Jan 2012 16:38:39 +0000 (11:38 -0500)
There is another identical call 4 lines up in the same function.

src/conf/domain_conf.c

index 6551a7948f3079ab05756f28a8eda87f2ac7233f..bf0e76f4899e4af28afaeb2fe69b9dd609779f86 100644 (file)
@@ -1808,7 +1808,6 @@ void virDomainDeviceInfoClear(virDomainDeviceInfoPtr info)
     if (info->type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_USB) {
         VIR_FREE(info->addr.usb.port);
     }
-    VIR_FREE(info->alias);
     memset(&info->addr, 0, sizeof(info->addr));
     info->type = VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE;
 }