Since we don't have a specialized function for "atomic" allocations,
it's better to just use xmlMemSetup() instead of xmlGcMemSetup()
according to this:
https://mail.gnome.org/archives/xml/2007-August/msg00032.html
isc_mem_setname(isc__xml_mctx, "libxml2");
isc_mem_setdestroycheck(isc__xml_mctx, false);
- RUNTIME_CHECK(xmlGcMemSetup(isc__xml_free, isc__xml_malloc,
- isc__xml_malloc, isc__xml_realloc,
- isc__xml_strdup) == 0);
+ RUNTIME_CHECK(xmlMemSetup(isc__xml_free, isc__xml_malloc,
+ isc__xml_realloc, isc__xml_strdup) == 0);
xmlInitParser();
#endif /* HAVE_LIBXML2 */