Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext: don't use FREE_IMMEDIATELY with XML::Document
This is a tricky one to explain, but in summary, when dealloc_node_i2 parents unparented nodes, libxml2 may merge two adjacent text nodes, which causes additional memory allocations during GC. If the FREE_IMMEDIATELY flag is set, this will generate warnings. But generating those warnings during GC will lead to a segfault for reasons I haven't dug into yet. Anyway, let's leave this flag off for now.
- Loading branch information