[libvirt] [PATCHv5 01/18] Forgot to cleanup ifname_guest* in domain network def parsing

Daniel P. Berrange berrange at redhat.com
Mon Jan 5 17:26:08 UTC 2015


On Tue, Dec 30, 2014 at 11:27:10AM +0100, Cédric Bosdonnat wrote:
> ---
>  src/conf/domain_conf.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index aafc05e..914faf9 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -7903,6 +7903,8 @@ virDomainNetDefParseXML(virDomainXMLOptionPtr xmlopt,
>      VIR_FREE(vhostuser_path);
>      VIR_FREE(vhostuser_mode);
>      VIR_FREE(ifname);
> +    VIR_FREE(ifname_guest);
> +    VIR_FREE(ifname_guest_actual);
>      VIR_FREE(dev);
>      virDomainActualNetDefFree(actual);
>      VIR_FREE(script);

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list