Open davidhesselbom opened 7 years ago
Hi David,
This looks like it might be a good commit to me. But, it's honestly been so long since I've worked with this code that I don't remember much of how it works. You probably understand it better than me at this point.
So, I've invited you to be a contributor to this project. Feel free to merge your pull request. Then, if you find that it has other, undesired effects, you can fix them.
This appears to fix the memory leak caused by calling
GetDocument()
on aDocument
or having aDocument
returned by a call toParent()
on aNode
, as explained in #61.I don't know whether it has other, undesired effects.