rio icon indicating copy to clipboard operation
rio copied to clipboard

If the assertion goes into unwinding, the value will be leaked inside a panic.

Open labyrinth-ssr opened this issue 2 years ago • 0 comments

https://github.com/spacejam/rio/blob/319f7fb04014aa88540c3539bd97d5a0006a1eb9/src/lazy.rs#L79-L84

If the assert fails, the object value_ptr pointing to (which is on the heap) will leak.

labyrinth-ssr avatar Aug 02 '23 10:08 labyrinth-ssr