Re: [hwloc-devel] xmlbuffer and xmlFree()

2011-09-05 Thread Jeff Squyres
+1 On Sep 5, 2011, at 3:59 AM, Samuel Thibault wrote: > Brice Goglin, le Mon 05 Sep 2011 09:16:08 +0200, a écrit : >> 2) add hwloc_free_xmlbuffer() >> (2) is easy > > It looks good indeed. > > Samuel > ___ > hwloc-devel mailing list > hwloc-de...@open

Re: [hwloc-devel] xmlbuffer and xmlFree()

2011-09-05 Thread Samuel Thibault
Brice Goglin, le Mon 05 Sep 2011 09:16:08 +0200, a écrit : > 2) add hwloc_free_xmlbuffer() > (2) is easy It looks good indeed. Samuel

[hwloc-devel] xmlbuffer and xmlFree()

2011-09-05 Thread Brice Goglin
(side note from the current discussion about XML/JSON/...) The doc of hwloc_topology_export_xmlbuffer() says that the returned buffer should be freed with xmlFree(). xmlFree() is in libxml2, but hwloc can be built without libxml2 support. So the application can always use hwloc_topology_export_xml