conf: remove duplicate call to VIR_FREE(info->alias)

There is another identical call 4 lines up in the same function.
This commit is contained in:
Laine Stump 2012-01-25 11:40:13 -05:00
parent 484a0bab39
commit aaa6210f81
1 changed files with 0 additions and 1 deletions

View 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;
}