Re: [libvirt] [PATCH] Free the macvtap mode string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 26, 2010 at 01:03:56PM -0500, Stefan Berger wrote:
> I forgot to free the macvtap mode string. This fixes it.
> 
> Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
> 

> Index: libvirt-macvtap/src/conf/domain_conf.c
> ===================================================================
> --- libvirt-macvtap.orig/src/conf/domain_conf.c
> +++ libvirt-macvtap/src/conf/domain_conf.c
> @@ -1974,6 +1974,7 @@ cleanup:
>      VIR_FREE(type);
>      VIR_FREE(internal);
>      VIR_FREE(devaddr);
> +    VIR_FREE(mode);
>  
>      return def;

  Ah, right, ACK, pushing it,

   thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]