From aaa6210f8169460147ad956509db3904baea62e3 Mon Sep 17 00:00:00 2001 From: Laine Stump Date: Wed, 25 Jan 2012 11:40:13 -0500 Subject: [PATCH] conf: remove duplicate call to VIR_FREE(info->alias) There is another identical call 4 lines up in the same function. --- src/conf/domain_conf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 6551a7948f..bf0e76f489 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -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; } -- GitLab