On Sun, Aug 30, 2009 at 03:59:08PM -0400, Laine Stump wrote: > > I found this while looking for examples of using > virNodeDeviceGetXMLDesc(). AFAIK, *all* of the *GetXMLDesc() functions > return a newly allocated chunk of memory that is owned by the caller, > who must free it when they're done... Right, good catch, applied and commited, 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