Use xmlMalloc and xmlFree, not xmlMemMalloc and xmlMemFree
Use xmlMalloc and xmlFree, not xmlMemMalloc and xmlMemFree

xmlMemMalloc and xmlMemFree are debug implementations, while xmlMalloc and
xmlFree are the (thread-local) handlers configured using xmlMemSetup.
xmlMemStrdup on the other hand is correct, since xmlStrdup deals in xmlChar*
not char* and the debug implementation is called xmlMemoryStrdup.

gagern/libxmljs,gagern/libxmljs,gagern/libxmljs