-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in path
method
#179
Comments
Please, take a look at the quick solution |
That looks good - since you have the code already want to send in a pull request? Otherwise I can do it by hand. |
I going to do some tests on my project and than to send in a pull request. |
Sounds good - thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ruby 3.0.0
libxml-ruby: 3.2.1
libxml: 2.9.10
Debian 11
I added demo (using linux
ps
to measure memory consumption)https://github.com/vovanmozg/libxml-ruby/blob/cf1cd5cd53d05f6af7f90c8b2ccb879f5c140f19/test/test_xpath.rb#L171-L178
path
implementation:libxml-ruby/ext/libxml/ruby_xml_node.c
Line 982 in 020367b
The text was updated successfully, but these errors were encountered: