Open flavorjones opened 5 years ago
@rubarb666 can you explain a bit more about your comment?
I'd like to block this on #1603 which will add the memory leak test suite to CI
Hey! The memory leak suite has been back in effect since 6326caa3 (2023-12-10) so let's do this.
As @stevecheckoway pointed out in https://github.com/sparklemotion/nokogiri/issues/1784 we might be able to avoid the case statement in
dealloc_node_i
and letxmlFreeNode
take care of it for us.This change would be a simplification, but I need to spend some time digging into:
Both of these features have been around since 2009 (1aa012a7) and I couldn't quickly find a clear reason why. Let's be careful here not to introduce an inadvertent memory leak.