xmllint: Stop using global variables The only exception is "maxmem". The custom malloc functions don't support an extra context.