for more details.
@ Fixed seg fault in domxml_unlink() (jtate)
DOMXML_PARAM_NONE(nodep, id, le_domxmlnodep);
xmlUnlinkNode(nodep);
- xmlFreeNode(nodep);
- zval_dtor(id); /* This is not enough because the children won't be deleted */
+ /* This causes a Segmentation Fault for some reason. Removing
+ it allows the user to re-add the node at some other time, in
+ addition to fixing the segfault. Node will be freed at
+ shutdown. */
+ /*xmlFreeNode(nodep);
+ zval_dtor(id);*/ /* This is not enough because the children won't be deleted */
}
/* }}} */