You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed that oniguruma started leaking memory when upgrading from rust-onig 3.0.1 to 3.2.1. It's highly probable that this memory leak is somewhere in the underlying C library, can someone help verify that and post an issue for that project?
I have created a reproducer here that will grow the heap indefinitely (it goes away when I port back to search_with_options in 3.0.1) https://github.com/saarw/onig_leak
The text was updated successfully, but these errors were encountered:
Looks like by calling mem::transmute in search_with_param it prevents the Drop impl being invoked. Guessing we should fix this by adding an as_raw method to expose the raw pointer rather than using mem::transmute.
We noticed that oniguruma started leaking memory when upgrading from rust-onig 3.0.1 to 3.2.1. It's highly probable that this memory leak is somewhere in the underlying C library, can someone help verify that and post an issue for that project?
I have created a reproducer here that will grow the heap indefinitely (it goes away when I port back to search_with_options in 3.0.1)
https://github.com/saarw/onig_leak
The text was updated successfully, but these errors were encountered: