[libvirt] [PATCH 1/6] conf: remove duplicate call to VIR_FREE(info->alias)
Eric Blake
eblake at redhat.com
Thu Jan 26 02:54:43 UTC 2012
On 01/25/2012 09:58 AM, Laine Stump wrote:
> There is another identical call 4 lines up in the same function.
> ---
> src/conf/domain_conf.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index e872396..471b0a2 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -1807,7 +1807,6 @@ void virDomainDeviceInfoClear(virDomainDeviceInfoPtr info)
> if (info->type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_USB) {
> VIR_FREE(info->addr.usb.port);
> }
> - VIR_FREE(info->alias);
ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120125/41add085/attachment-0001.sig>
More information about the libvir-list
mailing list