polotek/libxmljs — pull request #150 by triccardi-systran (2012-07-18 16:50:26+00:00)
Title: Clone segfault

*xmlCopyNode* sets *doc* to *NULL* on all created *xmlNode*.

Then *XmlNode::XmlNode* reads *doc->_private*: segfault.

With *xmlDocCopyNode* the *doc* is set.