rio
rio copied to clipboard
If the assertion goes into unwinding, the value will be leaked inside a panic.
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.