From: Laine Stump Date: Wed, 25 Jan 2012 16:40:13 +0000 (-0500) Subject: conf: remove duplicate call to VIR_FREE(info->alias) X-Git-Tag: v0.9.10-rc1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaa6210f8169460147ad956509db3904baea62e3;p=thirdparty%2Flibvirt.git conf: remove duplicate call to VIR_FREE(info->alias) There is another identical call 4 lines up in the same function. --- 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; }