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
Thank you @yihong0618 for the report. I have checked those cases and am sure that they work as expected.
The operation itself is an enum, and each variant has its own static string. The conversion won't cause any memory leaks externally.
The Scheme::Custom is a bit tricky since it allows users to create a memory leak by repeatedly calling Scheme::from_str(uuid::Uuid::new_v4()). However, I personally think this is acceptable and ultimately up to the user's discretion. I will add some comments to this function to inform users about the potential issue—when they use this API to construct a Scheme for custom services, they will receive a static string internally.
I just used rapx to check opendal
about rapx: https://github.com/Artisan-Lab/RAPx
doc: https://artisan-lab.github.io/RAPx-Book/1-intro.html
using:
first install rapx as doc
found two memroy leak(maybe) I am not sure these will cause memory leak issue so just leave the issue here
memory leak found by rapx
The text was updated successfully, but these errors were encountered: