-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
WebP Encoder Memory Leak #1957
Comments
I don't think there's anything this crate actually needs to do? When |
@fintelia Fair enough. My point was that the memory leak was introduced via a semver-compatible version, which means that all new installs or upgrades of the image crate will get the memory leak, which I thought should be avoided. |
Just following up on this one. It seems there has been a series of patch versions released for the webp crate that indicate various memory leak fixes: version 0.2.5: version 0.2.4 version 0.2.3: I'm wondering if its possible to bump image's webp dependency version to make these fixes available? |
You should actually get the patched versions automatically if you run |
Ah thanks so much for the quick response! I'm new to the Rust ecosystem and didn't realize thats how the versioning worked. I just wen't into my cargo.lock and indeed confirmed I'm on webp 0.2.4. I ran cargo update and got bumped to 0.2.5. I'll do some testing and see if my observed memory leak issues are resolved with their latest patch. |
The latest version of https://github.com/jaredforth/webp seems to have an memory leak on decoding: jaredforth/webp#27
Maybe it makes sense to fix the version of https://github.com/NoXF/libwebp-sys to 0.2.2 to avoid the memory leak (NoXF/libwebp-sys#20)!?
The text was updated successfully, but these errors were encountered: