[Libvir] also check for useless test-before-xmlFree

Daniel Veillard veillard at redhat.com
Tue Apr 29 15:00:53 UTC 2008


On Tue, Apr 29, 2008 at 04:07:06PM +0200, Jim Meyering wrote:
> Some time ago, Daniel Veillard assured me that xmlFree(NULL) is
> valid in regular use, and with upstream code since January it's

  Yup it points to free() from libc, unless redefined by the
user, but I don't expect that in an application using libvirt.

  +1

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list