On Fri, Dec 21, 2012 at 04:49:37PM +0100, Michal Privoznik wrote: > This is just a free function for array of virDomainInterfacePtr as > returned by virDomainInterfacesAddresses API. > --- > include/libvirt/libvirt.h.in | 3 +++ > python/generator.py | 1 + > src/libvirt.c | 31 +++++++++++++++++++++++++++++++ > src/libvirt_public.syms | 1 + > 4 files changed, 36 insertions(+) > > diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in > index 3eb7ced..d40c4f8 100644 > --- a/include/libvirt/libvirt.h.in > +++ b/include/libvirt/libvirt.h.in > @@ -4613,6 +4613,9 @@ int virDomainInterfacesAddresses(virDomainPtr domain, > unsigned int method, > unsigned int flags); > > +void virDomainInterfaceFree(virDomainInterfacePtr ifaces, > + int count);
Ewww, no. Please just have void virDomainInterfaceFree(virDomainInterfacePtr iface); 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 :| -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list