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

2008-04-29 Thread Jim Meyering
Some time ago, Daniel Veillard assured me that xmlFree(NULL) is valid in regular use, and with upstream code since January it's ok even in a debug mode that's not normally available because it's ifdef'd out: http://mail.gnome.org/archives/svn-commits-list/2008-January/msg02233.html Since the

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

2008-04-29 Thread Daniel Veillard
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