Make CompressorImageRef safer
Opened this issue · 0 comments
aclysma commented
It's possible to get a CompressorImageRef from CompressorParams, drop CompressorParams, and cause undefined behavior by using CompressorImageRef. Some API improvements would enable rust borrow checking to catch this at compile time.